(1)在Debug中,用"d 0:0 1f“ 查看内存,结果如下:
0000:0000 70 80 F0 30 EF 60 30 E2- 00 80 80 12 66 20 22 60
0000:0010 62 26 E6 D6 CC 2E 3C 3B-AB BA 00 00 26 06 66 88
下面的程序执行前, AX=0,BX=0,写出每条汇编指令执行完后相关寄存器中的值:
mov ax , 1
mov ds , ax
mov ax , [0000] AX = 2662H
mov bx , [0001] BX =E626H
mov ax , bx AX=E626H
mov ax , [0000] AX=2662H
mov bx , [0002] BX =D6E6H
add ax , bx AX=FD48H
add ax , [0004] AX=2C14H
mov ax , 0 AX=0H
mov al , [0002] AX=E6H
mov bx , 0 BX=0H
mov bl , [000C] BX=26H
add al , bl AC=CH
(2)汇编指令执行顺序为:
mov ax , 6622H
jmp 0ff0:0100
mov ax , 2000H
mov ds , ax
mov ax , [0008]
mov ax , [0002]