45111 Parallax Inc, 45111 Datasheet - Page 143

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
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 45111