微机课程设计报告(12)
发布时间:2021-06-06
发布时间:2021-06-06
cmp fssf,1 jz xsd1
adjust1:
xchg al,numb1[si] inc si loop adjust1 mov numb1f,0 jmp ru
;将NUMB1F置0,表示第二个数没有清零
place1:mov numb1[0],al
save_numb0:mov shuf,0
cmp finf,0
mov numb1f,0 jmp ru
;若完成符为1,表示完成过一次运算,则清空NUMBO
jz save_next mov si,1 mov cx,9 mov numb0,0
;清空NUMB0
save_ini:mov numb0[si],0
inc si loop save_ini mov numb0f,1 mov finf,0
save_next:mov si,9 ; cmp numb0[si],0 jnz ru cmp numb0f,1 jz place0