下列输入输出指令中,正确的是
()
A: IN
AX, 40H
B: OUT AL, 3F8H
C: IN AL,40H
D: OUT AX, 3F8H
()
A: IN
AX, 40H
B: OUT AL, 3F8H
C: IN AL,40H
D: OUT AX, 3F8H
举一反三
- 写出下列程序段执行后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
- 如下输入输出指令中,正确的是( ) A: IN DX,AL B: IN AL,183H C: OUT DX,AL D: OUT AX,DX
- 已知AX=8060H,DX=580H,端口PORT1的地址为40H,内容为4FH,端口PORT2的地址为44H,指出执行下列指令后的结果在那儿?为多少? (1)OUT DX,AX (2)IN AX,40H (3)OUT PORT2,AL
- 执行如下三条指令后,30H单元的内容是( ) A: 、0 B: H C: H D、F D: H E: O F: O G: O H: R1,#30H I: 40H,#0 J: @R1,40H <br/>A、40H B、30H
- 指出下列传送类指令中非法的指令(针对8086/8088 CPU)。 (1)MOV BX,AL (2)MOV BH,AL (3)MOV 100,CL (4)MOV SS,2400H (5)MOV [SI],[BX] (6)MOV [SI+4*3],BX (7)MOV AX,[BX][BP] (8)MOV AX,[SI][BP] (9)MOV AX,BX+DI (10)MOV AX,[BX+DI] (11)MOV SP,AX (12)MOV SP,[AX] (13)XCHG AH,AL (14)XCHG 200,AL (15)OUT 21H,AL (16)OUT 260H,AL