45181 Parallax Inc, 45181 Datasheet - Page 143

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
SZ
Operation: If Z is set, the following instruction word is skipped.
Note:
TEST
Operation: The Z flag will be set if src is 0; otherwise, Z will be cleared.
XOR
Operation: src is XOR’d into dest. Z will be set if the result was zero; otherwise, Z will be cleared.
1) SZ
1) TEST
2) TEST
1) XOR
2) XOR
3) XOR
4) XOR
5) XOR
Command
Command
Command
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following SZ is a single-word instruction.
src
fr
w
dest, src
fr, W
fr, #literal
fr1, fr2
W, fr
W, #literal
Words
Words
Words
1
1
1
1
2
2
1
1
1 or 2 (skip)
(4 or 8)
Cycles
Cycles
Cycles
1 (4)
1 (4)
1 (4)
2 (8)
2 (8)
1 (4)
1 (4)
13 Appendix C: SX Instruction Set
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 143
fr, W, Z
fr, W, Z
Affects
Affects
Affects
W, Z
W, Z
fr, Z
PC
Z
Z
0111 0100 0011 SZ
0010 001f ffff TEST fr
1101 0000 0000 TEST w
0001 101f ffff XOR fr, W
1100 kkkk kkkk MOV W, #lit
0001 101f ffff XOR fr, W
0010 000f ffff MOV W, fr2
0001 101f ffff XOR fr1, W
0001 100f ffff XOR W, fr
1111 kkkk kkkk XOR W, #lit
Skip if zero flag set
XOR src into dest
Coding
Coding
Coding
Test src for zero

Related parts for 45181