English
Language : 

CC2510FX Datasheet, PDF (43/253 Pages) List of Unclassifed Manufacturers – True System-on-Chip with Low Power RF Transceiver and 8051 MCU
CC2510Fx / CC2511Fx
The Program Status Word (PSW) contains
several bits that show the current state of the
CPU. The Program Status Word is accessible
as an SFR and it is bit-addressable. PSW
contains the Carry flag, Auxiliary Carry flag for
BCD operations, Register Select bits, Overflow
flag and Parity flag. Two bits in PSW are
uncommitted and can be used as user-defined
status flags
.
PSW (0xD0) – Program Status Word
Bit Name
7 CY
6 AC
5 F0
4:3 RS[1:0]
2 OV
1 F1
0P
Reset R/W
0
R/W
0
R/W
0
R/W
00
R/W
0
R/W
0
R/W
0
R/W
Description
Carry flag. Set to 1 when the last arithmetic operation resulted in a
carry (during addition) or borrow (during subtraction), otherwise
cleared to 0 by all arithmetic operations.
Auxiliary carry flag for BCD operations. Set to 1 when the last
arithmetic operation resulted in a carry into (during addition) or
borrow from (during subtraction) the high order nibble, otherwise
cleared to 0 by all arithmetic operations.
User-defined, bit-addressable
Register bank select bits. Selects which set of R7-R0 registers to
use from four possible register banks in DATA space.
00 Bank 0, 0x00 – 0x07
01 Bank 1, 0x08 – 0x0F
10 Bank 2, 0x10 – 0x17
11 Bank 3, 0x18 – 0x1F
Overflow flag, set by arithmetic operations. Set to 1 when the last
arithmetic operation resulted in a carry (addition), borrow
(subtraction), or overflow (multiply or divide). Otherwise, the bit is
cleared to 0 by all arithmetic operations.
User-defined, bit-addressable
Parity flag, parity of accumulator set by hardware to 1 if it contains
an odd number of 1’s, otherwise it is cleared to 0
12.5.3 Accumulator
ACC is the accumulator. This is the source
and destination of most arithmetic instructions,
data transfer and other instructions. The
mnemonic for the accumulator (in instructions
involving the accumulator) refers to A instead
of ACC.
ACC (0xE0) – Accumulator
Bit Name
7:0 ACC[7:0]
Reset R/W
0x00 R/W
Description
Accumulator
12.5.4 B Register
The B register is used as the second 8-bit
argument during execution of multiply and
divide instructions. When not used for these
purposes it may be used as a scratch-pad
register to hold temporary data.
CC2510Fx/CC2511Fx PRELIMINARY Data Sheet (Rev. 1.2) SWRS055A Page 43 of 252