Professional Documents
Culture Documents
Conversie Zecimal Impachetat - Binary (Bcdbin)
Conversie Zecimal Impachetat - Binary (Bcdbin)
b ax, ax call conv_bcd_bin pop si pop di pop dx pop cx ret bcdbin endp conv_bcd_bin proc near mov cx, 4 nextcif:push cx mov cx, 4 mov di, 0 nextdig:shl si, 1 rcl di, 1 loop nextdig mov cx, 10 mul cx add ax, di pop cx loop nextcif ret conv_bcd_bin endp