F²MC-16FX Family, Emulating and Debugging with Softune and MB2198-01, Doc. No. 002-04828 Rev. *B
12
4. Monitoring and Manipulating
How to Monitor and Manipulate CPU Registers, Variables and Memory
4.1
Monitoring and Manipulating Processor Status
The Condition Code Register (CCR) is always displayed below the workspace window
.
The flags are:
Abbr.
Flag Names
I
Interrupt enable flag (1 = enable)
S
Stack flag (0 = User stack; 1 = System stack)
T
Sticky bit flag (1 = shift right instruction executed)
N
Negative flag (MSB = 1 in last operation)
Z
Zero flag (Last operation resulted in “0”)
V
Overflow flag (Overflow at last operation)
C
Carry flag (Last operation caused carry)
The value of the flags can be easily changed by clicking into the white square. A “check mark” (√) indicates that
the flag is set (== 1).
4.2
Monitoring and Manipulating CPU Registers
To display the CPU Registers window choose in the debugging mode:
View -> Register
. A new window will occur
and look like this: