[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fKg6onqatYoExAs2C0lg9R2Q3Ioc5h0MAG-vBYV7sybg":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":27,"type":73},[],"2024-01-02 12:20:14",125471522,[8,9,10,11],"MOV AX,BL","MOV [SI], [DI]","MOV ES,200H","MOV [SI],AL",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},29,"a301cf6396ffd62be8e2a120cdd93cb9","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F7e2d5ad53be3d12aacc56ee37db405b7.jpg","汇编语言","exam_112484803","汇编语言测验-2021级计算机科学与技术","下列指令中正确的是( )",[21,29,34,39,44,49,54,59,65,70],{"answer":22,"createTime":23,"id":24,"options":25,"question":26,"source":27,"type":28},[],"2024-01-02 12:20:13",125471503,[],"编写程序实现:如果AL最高位为0,则设置AH=0; 如果AL最高位为1,则设置AH=FFH. test al,80h jz next0 jmp done next0: done:..","v1",2,{"answer":30,"createTime":23,"id":31,"options":32,"question":33,"source":27,"type":28},[],125471506,[],"计算|X-Y|(绝对值),X和Y为存放于X单元和Y单元的16位操作数,结果存入result mov ax,X jns nonneg nonneg:mov result,ax",{"answer":35,"createTime":23,"id":36,"options":37,"question":38,"source":27,"type":28},[],125471507,[],"记录BX中1的个数 xor al,al again: test bx,0ffffh &zwj; jnc again inc al jmp again next:..",{"answer":40,"createTime":23,"id":41,"options":42,"question":43,"source":27,"type":28},[],125471508,[],"比较无符号数大小,将较大的存入result主存单元 cmp ax,bx next: mov result,ax",{"answer":45,"createTime":5,"id":46,"options":47,"question":48,"source":27,"type":28},[],125471509,[],"设BX中放有一个带符号数,编写程序段根据BX值的负、0或正的情况,在AL中置数据-1、0或+1. &hellip;&hellip; CMP BX,0 JL LAB1 JG JMP LAB3 LAB1: JMP LAB3 LAB2: MOV AL,1 LAB3: &hellip;&hellip;",{"answer":50,"createTime":5,"id":51,"options":52,"question":53,"source":27,"type":28},[],125471512,[],"已知字节变量X,Y存放于VARX,VARY存储单元中,利用公式求Z的值, 并将结果存放于RESULT存储单元中. 公式:Z=((X+Y)*8-X)\u002F2 程序如下: data segment varx db 06h vary db 07h result db ? data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax mov dl,varx sal dl,cl sar dl,1 mov ah,4ch int 21h code ends end start",{"answer":55,"createTime":5,"id":56,"options":57,"question":58,"source":27,"type":28},[],125471513,[],"编程序求下列和值: S=(1+2+3)+(1+2+3+4)+(1+2+3+4+5) 将和值存在数据段偏移量为0100H的单元中. data segment var db ? data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax ┌ │ call sum └ mov dh,bh ┌ mov ah,4 │ call sum └ add dh,bh ┌ mov ah,5 │ call sum └ add dh,bh mov var,dh mov ah,4ch int 21h ┌─ sum proc near │ mov ch,0 │ mov bh,0 │ go: inc ch │ │ │ │ ret └─ sum endp code ends end start",{"answer":60,"createTime":5,"id":61,"options":62,"question":63,"source":27,"type":64},[],125471514,[],"假设程序中,数据段定义如下: Data1 db 50 dup(?) Data2 dw 10 dup(0) Data3 db 5 dup(2 dup(1,2)) (1)用指令将数据段首地址放入数据段寄存器中. (2)用一条指令将data2的第一个数据放入BX寄存器中. (3)将数据段字节数放入CX寄存器",4,{"answer":66,"createTime":5,"id":67,"options":68,"question":69,"source":27,"type":64},[],125471519,[],"定义数据段,满足如下要求: (1)array为字符串变量:'inspire a generation!' (2)data1 为十六进制数:0FEDCBAH (3)data2为二进制数:10101010B. (4)data3为100个为零的字节变量. (5)分配500个字的空间待用",{"answer":71,"createTime":5,"id":6,"options":72,"question":19,"source":27,"type":73},[],[8,9,10,11],0]