answersLogoWhite

0

.model small

.data

var1 db 25,32,49,10,81

var2 db 30 dup(0)

.code

mov ax,@data

mov ds,ax

mov cl,05h

mov dl,02h

lea si,var1

lea di,var2

l2: mov al,[si]

l1:mov ah,00h

div dl

mov [di+4],ah

dec di

cmp al,00h

jne l1

inc di

inc di

inc di

inc di

inc si

dec cl

jnz l2

mov ah,4ch

int 21

end

User Avatar

Wiki User

11y ago

Still curious? Ask our experts.

Chat with our AI personalities

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
JudyJudy
Simplicity is my specialty.
Chat with Judy

Add your answer:

Earn +20 pts
Q: 8086 program for bcd to binary no?
Write your answer...
Submit
Still have questions?
magnify glass
imp