divdw:push bxpush simov bx,ax;暂存低位mov ax,dx;高位除法mov dx,0div cxmov si,ax;暂存商mov ax,0add ax,bx;得到高位余数和低位之和div cx;ax中得到商,dx中是余数mov cx,dxmov dx,sipop sipop bxret