answersLogoWhite

0

Clr psw.3

clr psw.4

mov r1, 05h

mov r0, #50h

dcr r1

mov 10h, @r0

up: inc r0

mov a, @r0

cjne a, 10h dn

ajmp

dn: jnc next

mov 10h,a

next: djnz r1 up

*:ajmp *

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

Earn +20 pts
Q: Finding largest smallest number for 8051 microcontroller program?
Write your answer...
Submit
Still have questions?
magnify glass
imp