45111 Parallax Inc, 45111 Datasheet - Page 131

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
DJNZ
Operation: dest is decremented. If the result is not 0, a jump to addr9 is executed. Z will be set to 1 if the result was
IJNZ
Operation: dest is incremented. If the result is not 0, a jump to addr9 is executed. Z will be set to 1 if the result was
INC
Operation: dest is incremented. Z will be set to 1 if the result was 0; otherwise, Z will be cleared to 0. The MOV
INCSZ
Operation: dest is incremented. If the result is 0, the next instruction word will be skipped.
Note:
1) DJNZ
1) IJNZ
1) INC
1) INCSZ fr
Command
Command
Command
Command
dest, addr9
fr, addr9
0; otherwise, Z will be cleared to 0.
dest, addr9
fr, addr9
0; otherwise, Z will be cleared to 0.
dest
fr
W,++fr command is similar to INC fr, except the result is moved to W, and fr keeps its original contents.
dest
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction following
INCSZ is a single-word instruction.
Words
Words
Words
Words
2
2
1
1
2 or 4 (jump)
2 or 4 (jump)
1 or 2 (skip)
(8 or 12)
(8 or 12)
(4 or 8)
Cycles
Cycles
Cycles
Cycles
1 (4)
13 Appendix C: SX Instruction Set
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 131
fr, Z, PC
fr, Z, PC
Affects
Affects
Affects
Affects
fr, Z
fr
Decrement dest and jump if not zero
Increment dest and jump if not zero
Increment dest and skip if zero
0010 111f ffff DECSZ fr
101k kkkk kkkk JMP addr9
0011 111f ffff INCSZ fr
101k kkkk kkkk JMP addr9
0010 101f ffff INC fr
0011 111f ffff INCSZ fr
Coding
Coding
Coding
Coding
Increment dest

Related parts for 45111