执行下面的程序段后,AL中的内容是( )。 BUF DW 1221H,5665H,0001H MOV BX,OPPSET BUF MOV AL,2 XLAT
分析下列程序段:
MOV AX,OA33AH
MOV DX,OFOFOH
AND AH,DL
XOR AL,DH
NEG AH
NOT AL
执行上述指令段后,AH=(),AL=()
已知有程序段如下:
MOV AL,35H
MOV DL,AL
AND DL,0FH
AND AL,0F0H
MOV CL,4
SHR AL,CL
MOV BL,10
MUL BL
ADD AL,DL
执行之后,AL的值等于多少?该程序段完成了什么功能?
阅读下列程序段,说明程序执行后AL,BX的值。
OPE1 DB 3..4
OPE2 DW 3345H, 6799H
MOV AL, OPE1
MOV BX, OPE2 +1
SUB BL, AL
INT 3
结果:AL=();BX=()。
分析下面程序段,
MOV AL,200
SAR AL,1
MOV BL,AL
MOV CL,2
SAR AL,CL
ADD AL,BL
试问程序段执行后
(BL)=?
(AL)=?
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
阅读下面的程序,回答问题
DATA SEGMENT
BUF DB '1234'
N=$-BUF
BCD DB N DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:MOV AX,DATA
MOV DS,AX
LEA SI,BUF
MOV CX,N
LEA DI,BCD+N-1
LOOP1:MOV AL,[SI]
SUB AL,30H
MOV [DI],AL
INC SI
DEC DI
DEC CX
JNE LOOP1
MOV AH,4CH
INT 21H
CODE ENDS
END START
免费的网站请分享给朋友吧