
CHAPTER 3 REGISTERS
■Direct Data Transfer from Temporary Accumulator (T)
The temporary accumulator (T) is basically temporary storage for the accumulator (A). Therefore, data from the temporary accumulator cannot be transferred directly to memory. However, as an exception, using the accumulator as a pointer enabling saving of the contents of the temporary accumulator in memory. An example of this case is shown below.
Figure 3.3-9 Direct Data Transfer from Temporary Accumulator (T)
[Example] | MOVW @A, T |
Before execution
A1234H
TCDEFH
RAM
|
|
1235H | XXH |
|
|
1234H | XXH |
|
|
|
|
After execution
A1234H
TCDEFH
RAM
1235H |
|
EFH | |
|
|
1234H | CDH |
|
|
|
|
22