45111 Parallax Inc, 45111 Datasheet - Page 138

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
13 Appendix C: SX Instruction Set
RETI
Operation: W, STATUS (except TO & PD), FSR and PC are popped off the shadow registers and execution proceeds
RETIW
Operation: The value in W is added to RTCC, then W, STATUS (except TO & PD), FSR and PC are popped off the
RETP
Operation: The top stack value is moved into the program counter, upper return address bits are written to the
RETW
Operation: A list of RETWs is assembled each with one literal. This list can be accessed by JMP PC+W or JMP W
Page 138 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) RETI
1) RETIW
1) RETP
1) RETW #literal {, #literal…}
Command
Command
Command
Command
with the instruction following the jump to interrupt.
page select bits (bit 10:9 to status register 6:5 on SX20/28, or bits 11:9 to status register bits 7:5 on
SX48/52), and execution proceeds with the instruction following the most recent call instruction. This
instruction allows returning from a subroutine across page boundaries.
value
instructions. This is useful for lookup tables.
shadow registers and execution proceeds with the instruction following the jump to interrupt. This is
useful to create jitter-free, timed interrupts when using the interrupt-on-timer-rollover feature.
Words
Words
Words
Words
literal
1 per
1
1
1
3 (8) per literal
Cycles
Cycles
Cycles
Cycles
3 (8)
3 (8)
3 (8)
Assemble RETWs which load W with literal data upon return
C, DC, Z, PAx, PC, W, FSR,
C, DC, Z, PAx, PC, W, FSR
Return from subroutine across a page boundary
PAx, PC
Affects
Affects
Affects
Affects
PC, W
RTCC
Return from interrupt routine, adjust RTCC
Return from interrupt routine
0000 0000 1110 RETI
0000 0000 1111 RETIW
0000 0000 1101 RETP
1000 kkkk kkkk RETW #lit
{1000 kkkk kkkk RETW #lit…}
Coding
Coding
Coding
Coding

Related parts for 45111