Program for 8-bit Addition
;program for 8-bit addition in assembly language programming
org 0000
mov a,#5
mov b,#5
add a,b
mov 50h,a
mov r0,50h
end
Assembly Language Programming for Beginners: 8-bit Addition
We will learn how to add two 8-bit numbers using Assembly Language programming. We are going to use the 8051 microcontroller instruction set to write the program.
Contact Us