45205 Parallax Inc, 45205 Datasheet - Page 131

SX TECH BOARD

45205

Manufacturer Part Number
45205
Description
SX TECH BOARD
Manufacturer
Parallax Inc
Type
MCUr
Datasheet

Specifications of 45205

Contents
Board
For Use With/related Products
SX MCUs
For Use With
28825 - MINI SOUND PLAYER SOUNDPAL130-28029 - KIT PARTS SMART SENSORS
Lead Free Status / Rohs Status
Lead free / RoHS 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 45205