English
Language : 

SDA5250 Datasheet, PDF (44/143 Pages) Siemens Semiconductor Group – TVTEXT 8-Bit Microcontroller
SDA 525x
Boolean Processor
The Boolean processor is an integral part of the processor architecture. It is an
independent bit processor with its own instruction set, its own accumulator (the carry
flag) and its own bit- addressable RAM and I/O. The bit manipulation instructions allow
the direct addressing of 128 bits within the internal data RAM and several bits within the
special function registers. The special function registers which have addresses exactly
divisible by eight contain directly addressable bits.
The Boolean processor can perform, on any addressable bit, the bit operations of set,
clear, complement, jump-if-set, jump-if-not-set, jump-if-set then-clear and move to/from
carry. Between any addressable bit (or its complement) and the carry flag it can perform
the bit operation of logical AND or logical OR with the result returned to the carry flag.
Program Status Word Register (PSW)
The PSW-flags record processor status information and control the operation of the
processor. The carry (CY), auxiliary carry (AC), two user flags (F0 and F1), register bank
select (RS0 and RS1), overflow (OV) and parity (P) flags reside in the program status
word register. These flags are bit-memory-mapped within the byte-memory-mapped
PSW. The CY, AC, and OV flags generally reflect the status of the latest arithmetic
operations. The CY-flag is also the Boolean accumulator for bit operations. The P-flag
always reflects the parity of the A-register. F0 and F1 are general purpose flags which
are pushed onto the stack as part of a PSW-save. The two register bank select bits (RS1
and RS0) determine which one of the four register banks is selected as follows:
Table 6
Program Status Word Register
RS1
RS0
Register Bank
0
0
0
0
1
1
1
0
2
1
1
3
Register Location
00H – 07H
08H – 0FH
10H – 17H
18H – 1FH
Program Status Word PSW
Program Status Word
(MSB)
CY
AC
F0
PSW
RS1
RS0
SFR-Address D0H
(LSB)
OV
F1
P
Semiconductor Group
44
1998-04-08