Tag: Assembly language
-
ADD Instruction in Intel 8051 (MCS-51) Microcontroller
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 ADD instruction is usually in the following form: ADD A, source ; ADD the source operand to the…
-
Computer Programming Model
The programming model of a computer system refers to the assembly language programmer’s view of the system. From the programmer’s outlook, a computer is a collection of registers and memory for storing information, a set of instructions to manipulate data and control program flow, and various types of data that can be manipulated by the…