已知DS=ES=2000H执行下列程序: MOV SI,301H MOV DI,300H MOV CX,4 CLD REP MOVSB INT 3 DS:301H DB 22H,33H,44H,55H 程序运行后结果为:(20300H)=()H(20301H)=()H (20302H)=()H(20303H)=()H
已知DS=ES=2000H执行下列程序: MOV SI,301H MOV DI,300H MOV CX,4 CLD REP MOVSB INT 3 DS:301H DB 22H,33H,44H,55H 程序运行后结果为:(20300H)=()H(20301H)=()H (20302H)=()H(20303H)=()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
执行下列程序后,(CX)=( )。 DATA SEGMENT A DW 1, 2, 3, 4, 5 B DW 5 DATA SEGMENT CODE SEGMENT ASSUME CS: CODE, DS: DATA START: MOV AX, DATA MOV DS, AX LEA BX, A ADD BX, B MOV CX, [BX] MOV AH, 4CH INT 21H CODE ENDS END STARTA.400B.0C.10D.100
设内存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)=();程序功能是:()
阅读下列程序,指出运行结果 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
已知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
设内存11000H-11005H单元内容全为36H,写出如下程序的运行结果,并指出该程序段的功能。 MOV AX, 1000HMOV DS, AXMOV ES, AXCLDMOV SI, 1000HMOV DI, 1020HMOV CX, 06HREP MOVSB1NT 3结果为:SI()DI()(11021H)= ()程序功能是:()
判断下列指令是否正确。若不正确,指出错误原因。 (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
计算物理地址: 已知段地址和操作数的有效地址,怎样计算操作数的物理地址? 已知 DS=2000H , SS=1500H , SI=0150H , DI=0250H , BX=0020H , BP=0020H , DATA=0010H , COUNT=0050H , 指出下列指令中源操作数的物理地址: (2)MOV AX , [BP] (3)MOV BX , [120H] (4)MOV CX , DATA[DI] (5)MOV AX , COUNT[BX][SI]
指出下列指令中哪些是错误的,错在什么地方。 (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)=()。
已知下列程序: D1 DB 10 DUP(?) D2 DB 30H,31H,32H,33H,34H,35H,36H,37H,38H,39H ┇ MOV CX,LENGTH D1 MOV SI,SIZE D1—TPYE D1 LP:MOV AL,D2[SI] MOV D1[SI],AL SUB SI,TYPE D1 DEC CX JNZ LP HLT 问: (1)该程序执行后,D1单元开始的10个字节内容是什么? (2)该程序完成的功能是什么?
已知:DS=2000H,BX=0300H,SI=0002H,(20300H)=12H,(20301)=34H,(20302H)=56H,(20303H)=78H,(21400H)=2AH,(21401H)=4CH,(21402H)=B7H,(21403H)=65H 试说明下列指令执行完后AX寄存器的内容:MOV AX,1400H
分别说明下列指令的源操作数和目的操作数各采用什么寻址方式。 (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)=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 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=2000H,BX=0300H,SI=0002H,(20300H)=12H,(20301)=34H,(20302H)=56H,(20303H)=78H,(21400H)=2AH,(21401H)=4CH,(21402H)=B7H,(21403H)=65H 试说明下列指令执行完后AX寄存器的内容:MOV AX,[BX]
已知程序执行前,在AT89S51单片机片内RAM (10H)=20H,(20H)=33H,(33H)=45H,(45H)=56H,(P1)=30H。分析下列程序按顺序执行每条指令后的结果。 MOV A,33H;(A) MOV R1,A;(R1) MOV @R1,#0FFH; MOV 45H,33H;(45H) MOV R0,#10H;(R0) MOV A,@R0;(A) MOV P1,#0FFH;(P1) MOV A ,P1;;(P1) MOV 20H,A;(20H)
设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]
填空题已知DS=ES=2000H执行下列程序: MOV SI,301H MOV DI,300H MOV CX,4 CLD REP MOVSB INT 3 DS:301H DB 22H,33H,44H,55H 程序运行后结果为:(20300H)=()H(20301H)=()H (20302H)=()H(20303H)=()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
填空题设内存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
填空题设内存11000H-11005H单元内容全为36H,写出如下程序的运行结果,并指出该程序段的功能。 MOV AX, 1000HMOV DS, AXMOV ES, AXCLDMOV SI, 1000HMOV DI, 1020HMOV CX, 06HREP MOVSB1NT 3结果为:SI()DI()(11021H)= ()程序功能是:()
填空题用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=()该程序的功能是:()
问答题已知下列程序: D1 DB 10 DUP(?) D2 DB 30H,31H,32H,33H,34H,35H,36H,37H,38H,39H ┇ MOV CX,LENGTH D1 MOV SI,SIZE D1—TPYE D1 LP:MOV AL,D2[SI] MOV D1[SI],AL SUB SI,TYPE D1 DEC CX JNZ LP HLT 问: (1)该程序执行后,D1单元开始的10个字节内容是什么? (2)该程序完成的功能是什么?
问答题判断下列指令是否正确。若不正确,指出错误原因。 (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