执行下列程序段后,写出AX= 【12】 H。 MOV AL,87 MOV CL,4 MOV AH,AL AND AL,OFH OR AL,30H SHR AH,CL OR AH,30H
举一反三
- 写出下列程序段执行后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
- 写出下列程序段执行后AX的值为多少? MOV AX, 1234H MOV CL, 4 AND AL, 0FH ADD AL, 30H SHL AH, CL AND AH, 0F3H
- 分析下列程序段 MOV AL,N XOR AH,AH MOV CL,4 DIV CL 当N=3CH时,程序执行完后AX=
- 一定能使AH与AL寄存器内容交换的指令为 。 A: XCHG AH,AL B: XCHG AL,AH C: MOV CL,08HROL AX,CL D: MOV CL,08HRCR AX,CL
- 写出每条汇编指令执行后相关寄存器的值 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=________________