8086实模式寻址:
- In the real mode of 8086, show the starting and ending address of each segment located by the following segment register value. (8分)
- 2300H
- 0AB00H
解L,K:
- Starting Address:23000H,Ending Address:32FFFH
- Starting Address:0AB000H,Ending Address:0BAFFFH
CMP的运用:
- 已知AL=0C6H, BL=0D0H,执行以下CMP AL, BL指令后,试分析标志位S,C,O,Z的取值情况(8分)。
解:因为CMP指令执行的是减法操作,其结果只影响标志位。易知
0C6H-D0H=F6H。
可以看出
- 计算结果为负数,有S=1。
- 高位相减有借位,故C=1。
- 负数减去负数后,不可能有溢出。因此O=0。
- 计算结果不为0,有Z=0。
push指令的运用:
- Explain wh