answersLogoWhite

0

Lda 3000

mov c,a

cpi 02h

jz 2025

cpi 01h

jz 202d

cpi 01h

jz 202d

mvi b,02h

sub b

jz 202d

jnc 2015

inr b

mov a,c

cmp b

jz 2025

jnz 2015

mvi a,01

sta 27f6

jmp 2032

mvi a,0e

sta 27f6

call 06fa

hlt

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
BeauBeau
You're doing better than you think!
Chat with Beau

Add your answer:

Earn +20 pts
Q: 8085 program code for n prime number or not?
Write your answer...
Submit
Still have questions?
magnify glass
imp