现有DS=2000H,BX=0100H,SI=0002H,(20100H)=78H,(21200H)=65H,(20101H)=56H,(21201H)=0B7H,(20102H)=34H,(21202H)=4CH,(20103H)=12H,(21203H)=2AH,试说明下列各条指令执行完后AX寄存器的内容。(1)MOVAX,3456H;AX=_(2)MOVAX,BX;AX=______(3)MOVAX,[1200H];AX=(4)MOVAX,[BX1100H];AX=(5)MOVAX,[BX];AX=(6)MOVAX,1100H[BX][SI];AX=
时间: 2024-04-01 10:36:10 浏览: 210
实现C=A+B的完整程序-汇编数据定义与数据传送
(1) MOV AX, 3456H; AX = 3456H
(2) MOV AX, BX; AX = 0100H
(3) MOV AX, [1200H]; AX = 7856H (因为[1200H]存储的值是78H和56H,按照小端模式拼接成7856H)
(4) MOV AX, [BX+1100H]; AX = 654CH (因为[BX+1100H]存储的值是65H和4CH,按照小端模式拼接成654CH)
(5) MOV AX, [BX]; AX = 假设[BX]存储的值是ABCDH,则AX = CDCBH (因为[BX]存储的值是CDH和CBH,按照小端模式拼接成CDCBH)
(6) MOV AX, 1100H[BX][SI]; AX = 2A12H (因为1100H+BX+SI等于21203H,该地址存储的值是2AH和12H,按照小端模式拼接成2A12H)
阅读全文