用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=()该程序的功能是:()

用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=()该程序的功能是:()


相关考题:

根据下面的汇编语言源程序,其运行结果是在屏幕上显示 。 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

下面一段程序要实现的功能是:在内存中从地址SOURCE开始有一个长度为50的字符串,测试该字符串中是否存在数字,如有则将DL的第三位置1,否则将该位置0。 BEGIN: MOV CX,50 MOV SI, 0 LP: MOV SOURCE[SI] CMP AL,30H JB GOON CMP AL, ① JA GOON OR DL,20H JMP EXIT GOON: INC SI LOOP LP AND DL, ② EXIT: 则①,②中应为:A.35H,0DFHB.35H,0FFHC.39H,0DFHD.39H,OFFH

下面的程序段 DAT DB 1,2,3,4 MOV AL,0 MOV CX,4 MOV SI,3 LP: ADD AL,DAT [SI] DEC SI LOOPE LP HLT 执行结束后,AL和CX寄存器中的内容分别是A.4和3B.7和2C.9和1D.10和0

完成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

对于以下程序段:AGAIN: MOV AL,[SI] MVO ES:[DI],AL INC SI INC DI LOOP AGAIN也可以用下列指令( )完成同样的功能。A.REP MVOSBB.REP LODSBC.REP STOSBD.REPE SCASB

下列程序执行后,(SI)为( )。 MOV CX,5 MOV SI,4 A1:INC SI INC SI LOOP A1A.4B.5C.14D.15

DSEG SEGMENTBUF DB 1,5,4,0,7,9,2,6L EQU O0111001B 用作逻辑尺RESULT DB 10 DUP(?)DSEG ENDSSSEG SEGMENT STACKDB 256 DUP(0)SSEG ENDSCSEG SEGMENTASSUME DS:DSEG; SS:SSECG, CS:CSEGSTART PROC FARPUSH DSXOR AX, AXPUSH AXMOV AX, DSEGMOV DS, AXMOV SI, 0MOV CX, 8MOV DL, LGOON: SHR DL, 1JC FILLMOV AL, BUF[SI]JMP NEXTFILL: MOV AL, OFFHNEXT: MOV RESULT[SI], ALINC SILOOP GOONRETSTART ENDPCSEG ENDSEND START在保持以上程序功能不变的前提下,INCSI指令可以用【 】指令替换。

下列程序执行后,(SI)为( ) MOV CX,5 MOV SI,4 Al:INC SI INC SI LOOP AIA.4B.5C.14D.15

对于下列程序段: AGAIN:MOV AL,[SI] MOV ES: [DI],AL INC SI INC DI LOOP AGAIN 也可用指令______完成同样的功能。A.REP MOVSBB.REPE SCASBC.REP STOSBD.REP LODSB

有程序如下: BUF DB. 12H,23H,34H,45H,56H,67H,78H,89H,91H MOV SI,O MOV AL,[ BUF +SI] LP: INC SI CMP SI,9 JAE EXIT CMP AL,[BUF +SI] JLE NEXT()MOV AL,[BUF +SI] A22:JMP LP EXIT:INT 3 程序执行后AL=?该程序的功能是什么?

有程序如下: ORG 2800H BUF DB 67,4,57,34,89,123 START:MOV SI, 04 MOV BX, OFFSET BUF MOV AL, [BX+ SI] CALL SUB1 INT 3 SUB1: PUSHF MOV AH, OOH MOV BL, OAH DIV BL POPF RET该程序运行后,AH= ()AL=()

设内存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

判断下列指令是否正确。若不正确,指出错误原因。 (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

已知下列程序:  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)该程序完成的功能是什么?

源程序如下: MOV CX,9 MOV AL,01H MOV SI,1000H NEXT:MOV[SI],AL INC SI SHL AL,1 LOOP NEXT执行本程序后AL等于多少?SI等于多少?CX等于多少?

阅读下面的程序,回答问题 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说明程序功能,程序执行后,从BCD开始的N个字节单元中的内容是什么?

程序段如下: BLK1 DB 46,84,34,-5,20,122,73 : MOV CX,7 LEA S1,BLK1 NEXT:MOV AL,[SI] INC SI TEST AL,81H LOOPZ NEXT MOV BL,[SI] : 请回答程序段运行后: (AL)=? (BL)=?

源程序如下: MOV CX,9 MOV AL,01H MOV SI,1000H NEXT:MOV[SI],AL INC SI SHL AL,1 LOOP NEXT本程序的功能是什么?

问答题程序段如下: BLK1 DB 46,84,34,-5,20,122,73 : MOV CX,7 LEA S1,BLK1 NEXT:MOV AL,[SI] INC SI TEST AL,81H LOOPZ NEXT MOV BL,[SI] : 请回答程序段运行后: (AL)=? (BL)=?

填空题设内存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

问答题有程序如下: BUF DB. 12H,23H,34H,45H,56H,67H,78H,89H,91H MOV SI,O MOV AL,[ BUF +SI] LP: INC SI CMP SI,9 JAE EXIT CMP AL,[BUF +SI] JLE NEXT()MOV AL,[BUF +SI] A22:JMP LP EXIT:INT 3 程序执行后AL=?该程序的功能是什么?

填空题用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

填空题有程序如下: ORG 2800H BUF DB 67,4,57,34,89,123 START:MOV SI, 04 MOV BX, OFFSET BUF MOV AL, [BX+ SI] CALL SUB1 INT 3 SUB1: PUSHF MOV AH, OOH MOV BL, OAH DIV BL POPF RET该程序运行后,AH= ()AL=()