answersLogoWhite

0

.model small

.stack

.data

m db 'the no is odd $'

m1 db 'the no is even $'

a db 04h

b db 02h

.code

mov ax,@data

mov ds,ax

mov ah,0

mov al,a

mov bl,b

div bl

cmp ah,00h

je l1

mov dx,offset m

jmp l

l1:

mov dx,offset m1

jmp l

l:

mov ah,09

int 21h

mov ah,4ch

int 21h

end

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

Earn +20 pts
Q: Find given numbers odd or even in 8085 microprocessor assembly language?
Write your answer...
Submit
Still have questions?
magnify glass
imp