Embedded Programs
Friday, 16 September 2016
How to write a Program to swap two variables in 8051 microcontroller.
MOV R0,#00H
MOV A,#01H
MOV B,#05H
MOV R0,B
MOV B,A
MOV A,R0
END
4 comments:
Unknown
5 December 2017 at 13:12
why u do this?
Reply
Delete
Replies
Reply
Anonymous
20 December 2018 at 16:59
Is it correct?
Reply
Delete
Replies
Reply
Unknown
7 October 2020 at 03:06
no
Reply
Delete
Replies
Reply
Anonymous
22 November 2020 at 07:26
d
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
why u do this?
ReplyDeleteIs it correct?
ReplyDeleteno
ReplyDeleted
ReplyDelete