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

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve

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