Application Note
AN1218 Rev. 2
28
New TAP and TPA
instructions
The transfer accumulator to the condition code register, TAP, and the
transfer condition code register to accumulator, TPA, are new
instructions to modify or manipulate the condition code register, CCR.
These instructions are detailed below. Code examples can be found in
Appendix J — Five Miscellaneous CPU08 Instructions Including
BCD, Divide, and CCR Operations
.
TAP
Transfer Accumulator to Condition Code Register
CCR
←
(A)
Description: Transfers the contents of the Accumulator to
the Condition Code Register.
Operation:
TPA
Transfer Condition Code Register to Accumulator
A
←
(CCR)
Description: Transfers the contents of the Condition
Code Register to the Accumulator.
Operation:
Instruction Cycle Improvements
The CPU08 instruction set not only has new instructions but many of the
old instructions are faster. The CPU08 gathers data in a pipeline
fashion. Instead of waiting for the instruction to be finished to gather the
next opcode or operand, the CPU will fetch the next address byte during
the execution of the current instruction. This pipelining overlaps
executionofmostinstructionsandthusincreasestheperformanceofthe
CPU08. A list of instructions that were improved is given in
Table 3
.
Please refer to the CPU08 opcode map for further details.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.