阅读下列程序,指出运行结果
MOV SI,2500H
MOV AX,1000H
MOV DS,AX
MOV CL,05H
NEXT:MOV[ SI] ,AL
INC AL
INC SI
DEC CL
JNZ NEX
TINT 3
程序运行后结果为:DS=()H SI=()HAX=()H CL=()H
指出下列指令的错误:
MOV [BX],[SI] 请指出以下各指令的源、目的操作数所使用的寻址方式。
(1)MOV SI,2100H
(2)SBB DISP[BX],7
(3)AND [DI],AX
(4)OR AX,[609EH]
(5)MOV [BX+DI+30H],CX
(6)PUSH ES:[BP]
(7)CALL DISP[DI]
阅读下面的程序,回答问题
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
免费的网站请分享给朋友吧