![Cypress PSoC CY8C23533 Technical Reference Manual Download Page 59](http://html1.mh-extra.com/html/cypress/psoc-cy8c23533/psoc-cy8c23533_technical-reference-manual_2706366059.webp)
Document # 001-20559 Rev. *D
59
RAM Paging
4.2.2
CPU_F Register
The M8C Flag Register (CPU_F) provides read access to
the M8C flags.
Bits 7 and 6: PgMode[1:0].
PgMode determines how the
CUR_PP and IDX_PP registers form effective RAM
addresses for Direct Address mode and Indexed Address
mode operands.
Bit 4: XIO.
The IO Bank Select bit, also know as the regis-
ter bank select bit, is used to select the register bank that is
active for a register read or write. This bit allows the PSoC
device to have 512 8-bit registers and, therefore, can be
thought of as the ninth address bit for registers. The address
space accessed when the XIO bit is set to ‘0’ is called the
, while the address space accessed when the
XIO bit is set to ‘1’ is called the
.
Bit 2: Carry.
The Carry Flag bit is set or cleared in
response to the result of several instructions. It can also be
manipulated by the flag-logic opcodes (for example, OR F,
4). See the
PSoC Designer Assembly Guide User Manual
for more details.
Bit 1: Zero.
The Zero Flag bit is set or cleared in response
to the result of several instructions. It can also be manipu-
lated by the flag-logic opcodes (for example, OR F, 2). See
the
PSoC Designer Assembly Guide User Manual
for more
details.
Bit 0: GIE.
The state of the Global Interrupt Enable bit
determines whether interrupts (by way of the IRQ) are rec-
ognized by the M8C. This bit is set or cleared by the user,
using the flag-logic instructions (for example, OR F, 1). GIE
is also cleared automatically by the M8C upon entering the
ISR, after the flag byte has been stored on the stack, pre-
venting nested interrupts. Note that the bit can be set in an
ISR if desired. For GIE=1, the M8C samples the IRQ input
for each instruction. For GIE=0, the M8C ignores the IRQ.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
x,F7h
PgMode[1:0]
XIO
Carry
Zero
GIE
RL : 02
LEGEND
L
The AND F, expr; OR F, expr; and XOR F, expr flag instructions can be used to modify this register.
x
An ‘x’ before the comma in the address field indicates that this register can be read or written to no matter what bank is used.
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...