写出下列程序段执行后AX的值为多少? MOV AX, 1234H MOV CL, 4 AND AL, 0FH ADD AL, 30H SHL AH, CL AND AH, 0F3H
举一反三
- 写出下列程序段执行后AX的值为多少? MOV AX, 1234H MOV CL, 4 AND AL, 0FH ADD AL, 30H SHL AH, CL AND AH, 0F3H
- 执行下列程序段后,写出AX= 【12】 H。 MOV AL,87 MOV CL,4 MOV AH,AL AND AL,OFH OR AL,30H SHR AH,CL OR AH,30H
- 写出每条汇编指令执行后相关寄存器的值 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=________________
- 阅读下面程序段: MOV AX,1234H MOV CL,4 ROR AX,CL INC AX MOV BX,0 ADD BX,AX 该程序段执行后,AX=______H,BX=_______ H。(注:(1)字符全部大写,并且为半角字符)
- 分析下列程序段 MOV AL,N XOR AH,AH MOV CL,4 DIV CL 当N=3CH时,程序执行完后AX=