说出下列汇编程序中源操作数与目的操作数的寻址方式(1) MOV AH,F5H;(2) MOV AX, F58AH;(3) MOV AX,[2000H];(4) MOV AX,[BX];(5) MOV AX,10[SI];(6) MOV AX,[SI]10;(7) MOV AX,10[SI 10];(8) MOV AX, [BX][SI];(9) MOV AX, 10[BX][SI];
举一反三
- DS=1000H,ES=2000H,SS=3500H,SI=00A0H,DI=0024H,BX=0100H,BP=0200H,数据段中变 量名为VAL 的偏移地址值为0030H,说明下列源操作数的寻址方式和物理地址? (1)MOV AX,[100H] (2) MOV AX,VAL (3)MOV AX,[BX] (4) MOV AX,ES:[BX] (5)MOV AX,[SI] (6) MOV AX,[BX+10H] (7)MOV AX,[BP] (8) MOV AX,VAL[BP][SI] (9)MOV AX,VAL[BX][DI] (10) MOV AX,[BP][DI]
- 下面有语法错误的语句是( )。 A: MOV AX,[BX][SI] B: MOV AX,-2[BX][DI] C: MOV AX,[BX][BP] D: MOV AX,-1[BX][SI]
- 指出下列传送类指令中非法的指令(针对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
- 下列指令中,源操作数采用寄存器间接寻址方式的是( )。 A: MOV AX, [BX+2000H] B: ADD AX, [BX][SI] C: MOV AX, [BX] D: ADD AX, 200H[BX][SI]
- 写出每条汇编指令执行后相关寄存器的值 mov ax,62627 AX=________________ mov ah,31H AX=________________ mov al,23H AX=________________ add ax,ax AX=________________ mov bx,826CH BX=________________ mov cx,ax CX=________________ mov ax,bx AX=________________ add ax,bx AX=________________ mov al,bh AX=________________ mov ah,bl AX=________________ add ah,ah AX=________________ add al,6 AX=________________ add al,al AX=________________ mov ax,cx AX=________________