enCoRe™ V CY7C643xx, enCoRe™ V LV CY7C604xx TRM, Document No. 001-32519 Rev *H
208
x,F7h
21.3.42 CPU_F
M8C Flag Register
This register provides read access to the M8C flags.
The AND f, expr; OR f, expr; and XOR f, expr flag instructions are used to modify this register. In the table, note that the
reserved bit is a grayed table cell and is not described in the bit description section. Reserved bits must always be written with
a value of ‘0’. For additional information, refer to the
Register Definitions on page 31
in the M8C chapter and the
in the Interrupt Controller chapter.
7:6
PgMode[1:0]
00b
Direct Address mode and Indexed Address mode operands are referred to RAM Page 0,
regardless of the values of CUR_PP and IDX_PP. Note that this condition prevails upon
entry to an Interrupt Service Routine when the CPU_F register is cleared.
01b
Direct Address mode instructions are referred to Page 0.
Indexed Address mode instructions are referred to the RAM page specified by the stack
page pointer, STK_PP.
10b
Direct Address mode instructions are referred to the RAM page specified by the current
page pointer, CUR_PP.
Indexed Address mode instructions are referred to the RAM page specified by the index
page pointer, IDX_PP.
11b
Direct Address mode instructions are referred to the RAM page specified by the current
page pointer, CUR_PP.
Indexed Address mode instructions are referred to the RAM page specified by the stack
page pointer, STK_PP.
5
BINC
Bit Implemented Not Connected.
4
XIO
0
Normal register address space.
1
Extended register address space. Primarily used for configuration.
2
Carry
Set by the M8C CPU Core to indicate whether there was a carry in the previous logical/arithmetic
operation.
0
No carry.
1
Carry.
(continued on next page)
Individual Register Names and Addresses:
x,F7h
CPU_F : x,F7h
7
6
5
4
3
2
1
0
Access : POR
RL : 0
RL : 0
RL : 0
RL : 0
RL : 0
RL : 0
Bit Name
PgMode[1:0]
BINC
XIO
Carry
Zero
GIE
Bit
Name
Description