English
Language : 

45111 Datasheet, PDF (154/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
15 Appendix E: SX Data Sheet
(JMP). This is necessary to achieve computed jumps and subroutine calls across page boundaries in code
memory. Only 11 bits are used in SX20/28 parts. See The Jump Instruction for examples detailing how
the program counter and the STATUS register are used in typical situations.
15.2.8 STATUS Register ($03)
This register holds the arithmetic status of the ALU, the page select bits, and the reset status. The status
register is accessible during run-time but the reset bits, PD and TO, are read only. Care should be used
when writing to the STATUS register as the ALU status bits will be updated upon completion of the
write operation thereby leaving the STATUS register with a result that is different than intended.
Therefore, it is recommended that only SETB, CLRB and PAGE instructions be used on this register.
Bits 7-5:
Bit 4:
Bit 3:
Bit 2:
STATUS
7
6
5
4
3
2
1
0
PA2 PA1 PA0 TO PD Z DC C
Page select bits (PA2:PA0) *
000 = Page 0 ($000 - $1FF)
001 = Page 1 ($200 - $3FF)
010 = Page 2 ($400 - $5FF)
011 = Page 3 ($600 - $7FF)
100 = Page 4 ($800 - $9FF)
101 = Page 5 ($A00 - $BFF)
110 = Page 6 ($C00 - $DFF)
111 = Page 7 ($E00 - $FFF)
* For devices of less than 4 K code space, unused bits of PA2:PA0 may
be used as general purpose read/write bits.
Time Out bit (TO)
Set (1) after power up, or executing a CLR !WDT or SLEEP instruction.
Cleared (0) after a watchdog time-out has occurred.
Power Down Bit (PD)
Set (1) after power up, or executing a CLR !WDT instruction.
Cleared (0) by a SLEEP instruction.
Zero Bit (Z)
Set (1) when the result of the most recent math operation was zero.
Cleared (0) when the result of the most recent math operation was non-
zero.
Page 154 • SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc.