Page 34 - Introduction to Microcontrollers Architecture, Programming, and Interfacing of The Motorola 68HC12
P. 34
1.3 A Few Instructions And Some Simple Programs 11
Figure 1.4. Data Operator Arithmetic
The four instructions in Figure 1.5 can be stored in locations 2061 through 2070, or
$80D through $816 in hexadecimal; its execution adds two numbers in locations $840
and $841, putting the result into location $842.
Figure IS. Program for 8-Bit Addition