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
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

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