8086汇编语言 求一千以内个位数与十位数之和除以十余数等于百位数并在...答:mov bx, 10 let1:mov dx, 0 inc cx div bx push dx cmp ax, 0 jnz let1 let0:pop ax add ax, 3030h mov dl, al mov ah, 2 int 21h loop let0 mov dl, 0ah mov ah, 2 int 21h mov dl, 0dh mov ah, 2 int 21h mov bx, x ret out1:mov ah, 1 int 21h mov ah,...
编写汇编语言程序,用8086指令实现两个32位无符号数相加答:16进制显示结果 lea bx, hextab mov ah, 0eh ;高16位 mov dx, word ptr c+2 mov cx, 404hc1: rol dx, cl mov al, dl and al, 0fh xlat int 10h dec ch jnz c1 ;低16位 mov dx, word ptr c mov cx, 404hc2: rol dx, cl mov al, dl and al...
8086汇编语言输出1000以内个位数与十位数之和除以10所得的余数等于百位...答:assume cs:cseg, ds:dsegdseg segmentmsg db '100-999, ones place + tens place %10 = hundres place numbers:', 0dh ,0ah, '$'dseg endscseg segmentstart:mov ax, dsegmov ds, axlea dx, msgmov ah, 09hint 21hmov cx, 101mov bx, 10ss0:mov ax, cxcall sumplacecmp ah, dh...
求教一汇编语言作业题,8086 dos汇编的答:string db 1,2,3,4,5,6,7,8,9,10 sum db 0 data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax mov cx,10 lea di, string mov ax,[di]again:inc di add ax,[di]Loop again lea di,sum mov [di],ax mov ah,4ch Int 21h code ends end ...