45111 Parallax Inc, 45111 Datasheet - Page 153

MANUAL FOR SX-KEY/BLITZ VER. 2.0

45111

Manufacturer Part Number
45111
Description
MANUAL FOR SX-KEY/BLITZ VER. 2.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 45111

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Parallax microcontroller
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
15.2.4 Special Function Registers
Special function registers are registers used by the CPU to control the operation of the device. The
special function registers are contained within the first seven to ten locations of the global RAM bank as
shown above and are described below.
15.2.5 IND – The Indirect Register ($00)
This register, though not physically implemented, is used for indirect addressing. An instruction using
IND as its operand actually performs the operation on the register pointed to by the contents of FSR. See
Indirect Addressing, below, for more information.
15.2.6 Real Time Clock/Counter, WREG ($01)
RTCC is an 8-bit real-time timer/counter. In timer mode, the RTCC register will increment with every
instruction cycle (without prescaler). In counter mode, the RTCC will increment with every cycle on the
RTCC pin (with prescaler). The prescaler is used to lengthen the RTCC or watchdog timer effectively up
to 16-bits. Depending on the RTW bit (OPTION.7), register $01 contains either the RTCC, (RTW is set)
or the WREG, (RTW cleared). When WREG exists at $01, file register instructions (INC, DECSZ, etc) can
be used directly on WREG. When doing this, use the register address $01, or the WREG symbol, rather
than W. Using the W symbol instead of WREG to operate directly on the working register will result in
errors or incorrectly assembled code.
15.2.7 PC – Program Counter ($02)
PC is a register that holds the lower 8-bits of the program counter. It is accessible at runtime to perform
computed jumps and determine return addresses. Whenever an instruction is executed, and PC is the
destination, the upper 2 or 3 bits of the STATUS register are loaded into the high byte of the program
counter (bit 8 of the program counter is either cleared (CALL), or taken from the instruction opcode
* RC, RD and RE are available as general purpose RAM in the SX20. RD and RE
are available as general purpose RAM in the SX28.
Addr.
$00
$01
$02
$03
$04
$05
$06
$07
$08
$09
RTCC/WREG
Table 30 - Special Function Registers
STATUS
Name
IND
FSR
RA
RD
PC
RC
RB
RE
Used for indirect addressing
Real Time Clock Counter/WREG
Program Counter (low byte)
Holds status bits of ALU
File Select Register
Port A register
Port B register
Port C register *
Port D register *
Port E register *
Function
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 153
15 Appendix E: SX Data Sheet

Related parts for 45111