45111 Parallax Inc, 45111 Datasheet - Page 126

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
CJE
Operation: op1 is compared to op2. If op1 is equal to op2, a jump to addr9 is executed. W is left holding the result of
CJNE
Operation: op1 is compared to op2. If op1 is not equal to op2, a jump to addr9 is executed. W is left holding the
CLC
Operation: The C flag is cleared to 0.
Page 126 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) CJE
2) CJE
1) CJNE
2) CJNE
1) CLC
Command
Command
Command
op1, op2, addr9
fr, #literal, addr9
fr1, fr2, addr9
op1 - op2. If CARRYX is specified, c affects the result. Insert an STC before command to avoid strange results.
op1, op2, addr9
fr, #literal, addr9
fr1, fr2, addr9
result of op1 - op2. If CARRYX is specified, c affects the result. Insert an STC before command to avoid strange
results.
Words
Words
Words
4
4
4
4
1
4 or 6 (jump)
4 or 6 (jump)
4 or 6 (jump)
4 or 6 (jump)
(16 or 20)
(16 or 20)
(16 or 20)
(16 or 20)
Cycles
Cycles
Cycles
1 (4)
W, C, DC, Z
W, C, DC, Z
W, C, DC, Z
W, C, DC, Z
Affects
Affects
Affects
Compare op1 to op2 and jump if not equal
C
Compare op1 to op2 and jump if equal
1100 kkkk kkkk MOV W, #lit
0000 100f ffff MOV W, fr-W
0110 0100 0011 SNZ
101k kkkk kkkk JMP addr9
0010 000f ffff MOV W, fr2
0000 100f ffff MOV W, fr1-W
0110 0100 0011 SNZ
101k kkkk kkkk JMP addr9
1100 kkkk kkkk MOV W, #lit
0000 100f ffff MOV W, fr-W
0111 0100 0011 SZ
101k kkkk kkkk JMP addr9
0010 000f ffff MOV W, fr2
0000 100f ffff MOV W, fr1-W
0111 0100 0011 SZ
101k kkkk kkkk JMP addr9
0100 0000 0011 CLC
Coding
Coding
Coding
Clear carry

Related parts for 45111