English
Language : 

45111 Datasheet, PDF (140/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
13 Appendix C: SX Instruction Set
SETB src_bit
Command
1) SETB op.bit
Words
1
Operation: src_bit is set to 1.
Cycles
1 (4)
Affects
op.bit
Set src_bit
Coding
0101 bbbf ffff SETB op.bit
SKIP
Skip the following instruction word
Command
1) SKIP
Words
1
Cycles
2 (8)
Affects
PC
Coding
0110 0000 0010 SKIP
Operation: The following instruction word is skipped.
Note:
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following SKIP is a single-word instruction.
SLEEP
Enter sleep mode
Command
1) SLEEP
Words
1
Cycles
1 (4)
Affects
WDT, TO, PD
Coding
0000 0000 0011 SLEEP
Operation: The watchdog timer is cleared and the oscillator is stopped. TO is set and PD is cleared.
SNB src_bit
Skip if src_bit not set
Command
1) SNB op.bit
Words
1
Cycles
1 or 2 (skip)
(4 or 8)
Affects
PC
Coding
0110 bbbf ffff SNB op.bit
Operation: If src_bit is cleared, the following instruction word is skipped.
Note:
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following SNB is a single-word instruction.
Page 140 • SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc.