Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Conversie zecimal impachetat binary (bcdbin) bcdbin proc near push cx push dx push di push si mov si, ax sub

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

You might also like