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: