阅读下列程序,指出运行结果 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 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
相关考题:
根据下面的汇编语言源程序,其运行结果是在屏幕上显示 。 DSEG SEGMENT DAT DB 0FFH N EQU 3 BUF DB 3 DUP(‘?’) DB ‘$’ DSEG ENDS SSEG SEGMENT STACK DB 256 DUP(0) SSEG ENDS CSEG SEGMENT ASSUME DS:DSEG,SS:SSEG,CS:CSEG START: MOV AX,DSEG MOV DS,AX MOV BX,OFFSET BUF MOV SI,N MOV AL,DAT MOV AH,0 MOV CX,10 NEXT: XOR DX,DX DIV CX ADD DL,30H ;形成ASCII码 DEC SI MOV [BX+SI],DL OR SI,SI JNE NEXT LEA DX,BUF MOV AH,9 INT 21H MOV AH,4CH INT 21H CSEG ENDS END START
下面的程序用来从键盘重复接收一字符送BUFF开始的单元,直到接收到行结束标志ODH。在程序中填空,保证其正确运行。1 DATA SEGMENT2 BUFF DW 128 DUP(0)3 DATA ENDS4 CODE SGEMENT5 ASSUME CS:CODE,DS:DATA6 BEGIN: MOV AX, DATA7 MOV DS, AX8 LEA SI, BUFF9 GCH: MOV AH, 01H10 INT 21H11 MOV [SI], AL12 INC SI13 __________14 JNE GCH15 MOV AH, 4CH16 INT 21H17 CODE ENDS18 END BEGIN
完成41H送[2100H]、42H送[2101H]的正确程序是( )。A.MOV AL,41H MOV [2100H], AL INC AL MOV [2100H],ALB.MOV SI, 2100H MOV [SI], ‘A’ INC SI MOV [SI], ‘B’C.MOV AX,4241H MOV AX,AXD.MOV AX, ‘AB’ MOV [2100H],AX
下列程序执行后,SI寄存器中的内容为( )。 MOV SI, -1 MOV CL, 4 SAL SI, CL AND SI, 7FFFH OR SI, 7800H NOT SIA.0FHB.FOHC.FFHD.00H
下列程序执行后,SI寄存器中的内容是______。1 MOV SI, -12 MOV CL, 43 SAL SI, CL4 AND SI, 7FFFH5 OR SI, 8000H6 NOT SI
设内存22000H和22001H单元分别存放的数据为04H和06H,写出如下程序的运行结果,并指出该程序段的功能。 MOV AX,2000H MOW DS,AX MOC CL,4 MOV SI,2000H MOV AL,[SI+1] SHL AL, CL ADD AL,[ SI] MOV[ SI+2], AL INT 3 请问:SI=();AL();(22002H)=();程序功能是:()
已知DS= ES =1000H执行下列程序: MOV SI,101H MOV DI,100H MOV CX,4 LP1:MOV AL,[ SI] MOV[ DI] ,AL INC SI INC DI LOOP LP1 INT 3 DS:101H DB 69H,23H,56H,3AH 程序运行后结果为:(10100H)= ()H(10101H)= ()H(10102H)= ()H(10103H)= ()H
判断下列指令是否正确。若不正确,指出错误原因。 (1)MOV SI, DL (2)MOV ES, 1000H (3)LEA AX, 3006H (4)MOV [BP][DI], 0 (5)MOV [SI], [DI] (6)MOV [DI],[BX] (7)MOV [DX+SI],AL (8)MUL AL , 58H (9)MOV DS,SEG DAT (10)MOV WORD PTR [BX],-1
指出下列指令中哪些是错误的,错在什么地方。 (1)MOV DL,AX (2)MOV 8650H,AX (3)MOV DS,0200H (4)MOV [BX],[1200H] (5)MOV IP,0FFH (6)MOV [BX+SI+3],IP (7)MOV AX,[BX][BP] (8)MOV AL,ES:[BP] (9)MOV DL,[SI][DI] (10)MOV AX,OFFSET 0A20H (11)MOV AL,OFFSET TABLE (12)XCHG AL,50H (13)IN BL,05H (14)OUT AL,0FFEH
设(DS)=1234H,(SI)=124,(12464H)=30ABH,(12484H)=464H。试写出下列程序段执行后有关寄存器的结果。LEA.SI,[SI]MOV.AX,[SI]MOV.[SI+22H],1200HLDS.SI,[SI+20H]ADD.AX,[SI](DS)=();(SI)=();(AX)=()。
下列指令中错误指令是()A、MOV AX,DSB、MOV CS,1500HC、MOV SI,BXD、MOV [3000H],ALE、MOV [DI+32H],[1845H]F、MOV AL,1000H
指出以下指令中,哪些指令是非法的,并说明为什么(8086系统)。 (1) PUSH 1234H (2) MOV CS,AX (3) IN AX, 300 (4) MOV AX,[DX+12] (5) MOV BX,[BX] (6) MOV DS,1000H (7) XCHG AL,AL (8) MOV AL,100H (9) MOV DX,AL (10)LEA BL,[BX+5] (11)LEA DX,BX (12)MOV [1000H],12H (13)ADD AX,DS (14)SUB [0100H],BYTE PTR [0001] (15)SHL BL,2 (16)SHR CL,CL (17)MUL AL,BL (18)INT 400
分别说明下列指令的源操作数和目的操作数各采用什么寻址方式。 (1)MOV AX,2408H (2)MOV CL,0FFH (3)MOV BX,[SI] (4)MOV 5[BX],BL (5)MOV [BP+100H],AX (6)MOV [BX+DI],’$’ (7)MOV DX,ES:[BX+SI] (8)MOV VAL[BP+DI],DX (9)IN AL,05H (10)MOV DS,AX
已知:DS=1000H,BX=0200H,SI=02H,内存10200H~10205H 单元的内容分别为10H, 2AH,3CH,46H,59H,6BH。下列每条指令执行完后AX 寄存器的内容各是什么? (1)MOV AX,0200H (2)MOV AX,[200H] (3)MOV AX,BX (4)MOV AX,3[BX] (5)MOV AX,[BX+SI] (6)MOV AX,2[BX+SI]
设(DS)=2000H,(ES)=2100H,(SS)=1500H,(SI)=00A0H,(BX)=0100H,(BP)=0010H,数据变量VAL的偏移地址为0050H,请指出下列指令的源操作数字段是什么寻址方式?它的物理地址是多少? (1) MOV AX,21H (2) MOV AX,BX (3) MOV AX,[1000H] (4) MOV AX,VAL (5) MOV AX,[BX] (6) MOV AX,ES:[BX] (7) MOV AX,[BP] (8) MOV AX,[SI] (9) MOV AX,[BX+10] (10) MOV AX,VAL[BX] (11) MOV AX,[BX][SI] (12) MOV AX,VAL[BX][SI]
判断下列指令是否正确。若不正确,指出错误原因。 (1)MOV AX, [EBX] (2)MOV SI, DL (3)MOV EBP, [ESP][EAX*3] (4)LEA AX, 3006H (5)MOV [BP][DI], 0 (6)MOV [SI], [DI] (7)MOV ES, 1000H (8)MOV AX, X+2 (9)MOV AX, CX+2 (10)MOV [EAX][EAX*2], AL
说明下列指令中不合法的原因。 (1)MOV 64H, CL (2)MOV CL, 100H (3)MOV CL, 256 (4)MOV SS, 6180H (5)MOV CS, WORD PTR[BX] (6)MOV DS, SS (7)XCHG AL, 40H (8)XCHG ES, AX (9)IN 160H, AL (10)CMP [SI], [BX] (11)MOV DS, 1000H (12)POP CS
设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]
问答题判断下列指令是否正确。若不正确,指出错误原因。 (1)MOV AX, [EBX] (2)MOV SI, DL (3)MOV EBP, [ESP][EAX*3] (4)LEA AX, 3006H (5)MOV [BP][DI], 0 (6)MOV [SI], [DI] (7)MOV ES, 1000H (8)MOV AX, X+2 (9)MOV AX, CX+2 (10)MOV [EAX][EAX*2], AL
填空题阅读下列程序,指出运行结果 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
填空题设内存22000H和22001H单元分别存放的数据为04H和06H,写出如下程序的运行结果,并指出该程序段的功能。 MOV AX,2000H MOW DS,AX MOC CL,4 MOV SI,2000H MOV AL,[SI+1] SHL AL, CL ADD AL,[ SI] MOV[ SI+2], AL INT 3 请问:SI=();AL();(22002H)=();程序功能是:()
填空题已知DS= ES =1000H执行下列程序: MOV SI,101H MOV DI,100H MOV CX,4 LP1:MOV AL,[ SI] MOV[ DI] ,AL INC SI INC DI LOOP LP1 INT 3 DS:101H DB 69H,23H,56H,3AH 程序运行后结果为:(10100H)= ()H(10101H)= ()H(10102H)= ()H(10103H)= ()H
问答题说明下列指令中不合法的原因。 (1)MOV 64H, CL (2)MOV CL, 100H (3)MOV CL, 256 (4)MOV SS, 6180H (5)MOV CS, WORD PTR[BX] (6)MOV DS, SS (7)XCHG AL, 40H (8)XCHG ES, AX (9)IN 160H, AL (10)CMP [SI], [BX] (11)MOV DS, 1000H (12)POP CS
问答题设(DS)=1234H,(SI)=124,(12464H)=30ABH,(12484H)=464H。试写出下列程序段执行后有关寄存器的结果。LEA.SI,[SI]MOV.AX,[SI]MOV.[SI+22H],1200HLDS.SI,[SI+20H]ADD.AX,[SI](DS)=();(SI)=();(AX)=()。
填空题用DEBUG调试如下程序段: MOV SI,O MOV AL,1000[ SI] LP:INC SI CMP SI,08H JAE A11 CMP.AL,1000[SI] JGE A22 MOV AL,1000[SI] A22:JMP LP A11:INT 3 DS:1000H DB 34H,47H,78H,77H DB 88H,99H,OAAH,OFFH 则程序执行后,AL=()该程序的功能是:()
问答题判断下列指令是否正确。若不正确,指出错误原因。 (1)MOV SI, DL (2)MOV ES, 1000H (3)LEA AX, 3006H (4)MOV [BP][DI], 0 (5)MOV [SI], [DI] (6)MOV [DI],[BX] (7)MOV [DX+SI],AL (8)MUL AL , 58H (9)MOV DS,SEG DAT (10)MOV WORD PTR [BX],-1