The ADD instruction tells the microcontroller’s CPU to add the source byte to register A and put the result in register A. Recall, A is the accumulator register typically used for all arithmetic and logic instructions.
The Intel 8051 also known as MCS-51 is an 8-bit microcontroller and one of the most popular microcontrollers. The Intel 8051 has four parallel input/output ports; ports 0, 1, 2 and 3. Ports 0, 2 and 3 also have alternative … Read More