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

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

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