XC886/888CLM
Processor Architecture
User’s Manual
2-4
V1.3, 2010-02
Processor Architecture, V 1.0
2.2.5
Program Status Word
The Program Status Word (PSW) contains several status bits that reflect the current
state of the CPU.
PSW
Program Status Word Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
CY
AC
F0
RS1
RS0
OV
F1
P
rwh
rwh
rw
rw
rw
rwh
rw
rh
Field
Bits
Type Description
P
0
rh
Parity Flag
Set/cleared by hardware after each instruction to
indicate an odd/even number of “one” bits in the
accumulator, i.e., even parity.
F1
1
rw
General Purpose Flag
OV
2
rwh
Overflow Flag
Used by arithmetic instructions
RS1,
RS0
4:3
rw
Register Bank Select
These bits are used to select one of the four register
banks.
00
Bank 0 selected, data address 00
H
-07
H
01
Bank 1 selected, data address 08
H
-0F
H
10
Bank 2 selected, data address 10
H
-17
H
11
Bank 3 selected, data address 18
H
-1F
H
F0
5
rw
General Purpose Flag
AC
6
rwh
Auxiliary Carry Flag
Used by instructions that execute BCD operations
CY
7
rwh
Carry Flag
Used by arithmetic instructions
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...