CHAPTER 3 REGISTERS
3.3Accumulator (A) and Temporary Accumulator (T)
The accumulator (A) and temporary accumulator (T) are
The accumulator (A) is used as the area where the results of operations are temporarily stored.
The temporary accumulator (T) is used as the area where the old data is temporarily saved for data transfer to the accumulator (A) or the operand for operations.
■Accumulator (A)
For
are used as shown in Figure
Figure 3.3-1 Accumulator (A) Operation (16-bit Operation)
Before execution
A 1234H
T5678H
CF 1
After execution
A 68ADH
T 5678H ADDCW A
CF 0
Figure 3.3-2 Accumulator (A) Operation (8-bit Operation)
Before execution
A | 1234H |
|
|
T5678H
CF 1
After execution
A 12ADH
T 5678H ADDC A
CF 0
■Temporary Accumulator (T)
When
18