OPERATION
<Register Name>
syntax:
<RegisterName>
where:
<RegisterName>
<RegisterValue>
Register Name
PC
SP
X
Y
A
B
D
CCR
Each of the fields in the Condition Code Register (CCR) may be modified by using the bit names
in Table 3-4.
CCR Bit Name
S
H
N
Z
3-52
Modify Register Value
<RegisterValue>
is one of the CPU12 registers listed in Table 3-3.
is an 8- or 16-bit hexadecimal number.
Table 3-3. CPU12 Registers
Description
Program Counter
Stack Pointer
X-Index Register
Y-Index Register
A Accumulator
B Accumulator
D Accumulator (A:B)
Condition Code Register
Table 3-4. Condition Code Register Bits
Description
STOP Enable
Half Carry
Negative Flag
Zero Flag
<Register Name>
Legal Range
$0 to $FFFF
$0 to $FFFF
$0 to $FFFF
$0 to $FFFF
$0 to $FF
$0 to $FF
$0 to $FFFF
$0 to $FF
Legal Values
0 or 1
0 or 1
0 or 1
0 or 1
68EVB912B32UM/D