45181 Parallax Inc, 45181 Datasheet - Page 138

SX TECH TOOL KIT NO POWER

45181

Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet

Specifications of 45181

Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
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 45181