DS=2000H, SS=3000H, AX=1234H, BX=0030H, CX=5678H, DX=0010H, SI=0020H, DI=0010H, BP=0060H, SP=0100H, (20050H)=11H, (20051H)=06H, (20052H)=11H, (20053H)=20H, (30080H)=0FFH, (30081H)=5EH, (21236H)=11H, (21237H)=20H。SAR WORD PTR [1236H],1 答: (21236H)= , CF=
时间: 2023-07-06 12:03:17 浏览: 120
微机原理考卷B.doc
答案是(21236H)=820H,CF=1。SAR指令是算数右移指令,将操作数向右移动1位,空出的最高位用符号位填充,最低位的进位标志CF设置为移出的值。在这道题中,执行SAR WORD PTR [1236H],1指令时,将内存地址0x1236中的值0x2011向右移动1位,得到0x1020,CF标志被设置为1。结果存放在内存地址0x21236中,即(21236H)=820H。
阅读全文