45205 Parallax Inc, 45205 Datasheet - Page 138

SX TECH BOARD

45205

Manufacturer Part Number
45205
Description
SX TECH BOARD
Manufacturer
Parallax Inc
Type
MCUr
Datasheet

Specifications of 45205

Contents
Board
For Use With/related Products
SX MCUs
For Use With
28825 - MINI SOUND PLAYER SOUNDPAL130-28029 - KIT PARTS SMART SENSORS
Lead Free Status / Rohs Status
Lead free / RoHS 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 45205