Write an 8051 ALP to implement a half adder logic such that P0.0 (B) and P0.1 (A) be two inputs while P2.0 (carry) and P2.1 (sum) be outputs.
#8051Microcontroller,
#EmbeddedSystems,
#AssemblyLanguageProgramming,
#MicrocontrollerTutorial,
#8051ALP,
#halfadder
Reference:
Mohammad Ali Mazidi, Janice G. Mazidi, Rolin D. McKinlay, The 8051 Microcontroller and Embedded Systems, 2014, 2nd Edition, Pearson, India