mov bx,fsf1 cmp dx,bx jnz tiaozh cmp dx,0 jz huizh1 mov fsf,dx
;清除进位标志
huizh1: mov cx,10 mov si,0
addnext_bit:mov al,numb0[si]
adc al,numb1[si] aaa
mov numb0[si],al inc si
loop addnext_bit jc start mov numb1f,1 jmp xs
addp endp
;----------------------------------------------------------------------------------------- ;减法子程序 (带小数) subp proc push ax push dx clc ;清除进位标志 mov dx ,fsf0 mov bx,fsf1 cmp dx,bx jnz tiaozh