有汇编程序段如下 CODES SEGMENT ASSUME CS:CODES START: MOV CX, 30 XOR AX, AX MOV BX, 1 AGAIN: ADD AX, BX INC BX LOOP AGAIN CODES ENDS END START 程序执行后,AX和BX的内容分别是A.465,31B.465,30C.434,31D.434,30
有汇编程序段如下 CODES SEGMENT ASSUME CS:CODES START: MOV CX, 30 XOR AX, AX MOV BX, 1 AGAIN: ADD AX, BX INC BX LOOP AGAIN CODES ENDS END START 程序执行后,AX和BX的内容分别是
A.465,31
B.465,30
C.434,31
D.434,30
相关考题:
下面的汇编语言源程序经汇编后,发现TEST [BX], 01H指令有语法错误,试问该指令的正确形式应该是 。 DSEG SEGMENT DAT DB 5,13,4,-2,6,23,44,-1,29,-3 CNT DW $-DAT DSEG ENDS SSEG SEGMENT STACK DB 256 DUP(0) SSEG ENDS CSEG SEGMENT ASSUME DS:DSEG,SS:SSEG,CS:CSEG START PROC FAR PUSH DS XOR AX,AX PUSH AX MOV AX,DSEG MOV DS,AX XOR AX,AX MOV BX,OFFSET DAT MOV CX,CNT LP: TEST [BX],01H JZ NEXT INC AH ADD AL,[BX] NEXT: INC BX LOOP LP SET START ENDP CSEG ENDS END START
假设数据段定义如下: DSEG SEGMENT DAT DW 1,2,3,4,5,6,7,8,9,10 CNT EQU ($-DAT)/2 DSEG ENDS 执行指令MOV CX, CNT后,寄存器CX的内容是:A.10B.5C.9D.4
根据下面的汇编语言源程序,其运行结果是在屏幕上显示 。 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
有汇编程序段如下 CODES SEGMENT ASSUME CS:CODES START: MOV CX, 10 XOR AX, AX MOV BX, 1 AGAIN: ADD AX, BX INC BX LOOP AGAIN CODES ENDS END START 程序执行后,AX和BX的内容分别是 bx=cx+1 Ax=0+bx-1A.10,10B.55,10C.55,11D.60,10
用查询方式将输入设备的一个数据读入CPU的BL中,程序段如下所示,请完成该段8086汇编程序,将(1)~(5)的内容填入相应的位置。START: MOV DX, (1)NEXT1: IN AL,DXNEXT2: AND AL, (2)JZ (3)MOV DX, (4)IN AL,DXNEXT3: MOV (5),ALRET
执行下列程序后,(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
假设某汇编语言源程序的代码段的段名是CSEG,启动地址为START,下面可用来预置CS寄存器的语句是( )。A.ASSUME CS:CSEGB.END STARTC.MOV CS,CSEGD.MOV AX,CSEG 和MOV CS,AX
下列程序执行后,DX寄存器的内容是( ) CODE SEGMENT ASSUME CS:CODE START: MOV CL,3 MOV DX,0C6H ROL DX,2 ROR DX,CL CODE ENDS END STARTA.35B.63HC.53HD.138H
假设某汇编语言源程序的代码段段地址为CSEG,启动地址为START,可用来设置CS寄存( )器值的汇编语句是( )。A.ASSUME CS CSEGB.END STARTC.MOV CS,CSEGD.MOV AX,CSEG MOV CS,AX
下列程序执行后,DX寄存器的内容是( )。 CODE SEGMENT ASSUME CS:CODE START: MOV CL,3 MOV DX,0C6H ROLDX,2 ROR DX,CL CODE ENDS END STARTA.35B.63HC.53HD.138H
阅读下列程序段,注释指令中属性分离符的功能。 DATA SEGMENT A DW 20,100,-60H B DB ‘ABCDEFG ’ DATA ENDS ┆ ①MOV AX, SEG B ②MOV BX, OFFSET B ③MOV CX, TYPE A ④MOV DX , TYPE B
Which statement is TRUE about the feature activation codes for an IBM System Storage DS6000 or DS8000()A、the activation codes are for Copy Services onlyB、the activation codes are obtained from a websiteC、the activation codes are obtained from the installation CDD、the activation codes are mailed to you
What is the correct sequence for defining taxes using WebSphere Commerce Accelerator? ()A、Create tax codes. Create sales tax categories. Enter rates for each combination of tax code and category. Create jurisdictions. Assign the jurisdictions to the codes. Assign tax categories to the SKUs.B、Create tax categories. Create sales tax codes. Enter rates for each combination of tax category and code. Create jurisdictions. Assign the jurisdictions to the categories. Assign tax codes to the SKUs.C、Create jurisdictions. Create sales tax codes. Create shipping tax codes. Create tax categories. Define tax category display names. Define tax rates. Assign categories to codes.D、Create jurisdictions. Create tax codes. Enter rates for each combination of tax code and jurisdiction. Create sales tax categories. Assign the categories to the codes. Assign tax categories to the SKUs.
Through which action are Currency Codes created? ()A、 select New Row in Currency Codes applicationB、 select Action Currency Codes in the Database Configuration applicationC、 select an Organization in the Currency Codes application and add a new rowD、 select the Base Currency lookup in the Organizations application and add a new row
You creating a report that will run in both character mode and bitmapped environments. You include some printer codes in your report. What will happen when you run the report in bitmapped mode? ()A、The report will not execute. B、The report will only accept destination type of previewer or printer. C、Printer codes will be ignored. D、Only the printer codes that apply will be processes.
单选题Which statement is TRUE about the feature activation codes for an IBM System Storage DS6000 or DS8000()Athe activation codes are for Copy Services onlyBthe activation codes are obtained from a websiteCthe activation codes are obtained from the installation CDDthe activation codes are mailed to you
单选题Through which action are Currency Codes created? ()A select New Row in Currency Codes applicationB select Action Currency Codes in the Database Configuration applicationC select an Organization in the Currency Codes application and add a new rowD select the Base Currency lookup in the Organizations application and add a new row
填空题初一5班共64人,已知每个学生的数学成绩存放在SCODE开始的单元中,求其平均成绩,并放在PJCD单元。试填写下面程序段。 DATA SEGMENT SCODE DB 68, 95, 76,…. PJCD DB DATA ENDS CODE SEGMENT ASSUME CS: CODE, DS:DATA START:MOV AX, DATA MOV DS, AX MOV AX,O MOV CX, 30 MOV SI,() ADD1:ADD AL() JNC() INC() NEXT:INC() LOOP() MOV CL,6 SHR(),CL MOV PJCD,() MOV AH,4CH INT 21H CODE ENDS END START
问答题阅读下列程序段,注释指令中属性分离符的功能。 DATA SEGMENT A DW 20,100,-60H B DB ‘ABCDEFG ’ DATA ENDS ┆ ①MOV AX, SEG B ②MOV BX, OFFSET B ③MOV CX, TYPE A ④MOV DX , TYPE B