内存单元初始化内容为:(2000H:2A00H)~(2000H:2A02H)分别为0PH、0EH、 0DH,(2000H:2A10H)~(2000H:2A12H)分别为09H、 08H、07H。执行下列程序后,填写存储单元的内容: MOV AX,2000H MOV DS,AX MOV ES,AX MOV SI,2A10H MOV DI,2A00H CLD MOV CX,3 L:MOV AL,[DI] MOVSB DEC SI MOV [SI],AL INC SI LOOP L HLT (1)2000H:2A00H=______; (2)2000H:2A01H=______; (3)2000H:2A02H=______; (4)2000H:2A10H=______; (5)2000H:2A11H=______; (6)2000H:2A12H=______。
举一反三
- BAS DB 11,22,33,44,55 NUM DB 10,20,30,40,50 IN DB 1,2,3 代码段定义如下: MOV BX,OFFSET BAS LEA SI,IN MOV DI,4 MOV AX,[SI+2] ;(AX)=【1】H XCHG AX,[SI] ;(AX)=【2】H MOV AX,4[BX] ;(AX)=【3】H MOV AX,[BX][DI] ;(AX)=【4】H
- 设SS=2000H,SP=2000H,AX=3000H,BX=4000H,执行以下程序段:PUSH AXPUSH BXMOV BX, SPPOP AX之后,SP= H。 A: 2000 B: 1FFE C: 1FFC D: 2002
- 写出下列程序段执行后AX的值为多少? MOV AX, 1234H; AX=(1)H MOV CL, 4 AND AL, 0FH; AX= (2) H ADD AL, 30H; AX= (3)H SHL AH, CL; AX= (4)H AND AH, 0F3H; AX= (5)H
- 中国大学MOOC: 设DS=2000H,SS=4000H, BX=1000H,BP=1000H, (21000H)=1234H, (21002H)=5678H,(41000H)=3456H, (41002H)=789AH。写出下列三条指令执行后的结果。(注:答案和答案之间用一个空格分开)(1)MOV AX, DS:[1000H] AX=_____________H。(2)MOV AL,BYTE PTR [BX+2] AL=_____________H。(3)MOV AH, [BP] AH=_____________H。
- 如果DS=3000H, SI=2000H, [32000H]=66H,[32001H]=CCH,指令LEA AX, [SI]执行后,AX= ()H。 A: 0CC66 B: 66CC C: 2000 D: 3000