mov si,offset

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 21:40:19

mov si,offset
mov si,offset

mov si,offset
main()
{
unsigned char *s,*e="ABcd",*c="你好";
clrscr();
printf("English char =");
s=e;
while(*s!=0) /*C的字符串以0为结束符*/
{
printf("%3d,",*s);
s++;
}
printf("\nChinease char=");
s=c;
while(*s!=0)
{
printf("%3d,",*s);
s++;
}
getch();