45111 Parallax Inc, 45111 Datasheet - Page 136

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
MOVB
Operation: src_bit is moved into dest_bit in command #1. The one’s complement of src_bit is moved into dest_bit in
MOVSZ dest, src
Operation: The incremented value (command #1) or decremented value (command #2) of src is moved into dest.
Note:
NOP
Operation: None. This instruction is useful to adjust the timing of a routine.
Page 136 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) MOVB op.bit1, op.bit2
2) MOVB op.bit1, /op.bit2
1) MOVSZ W, ++fr
2) MOVSZ W, --fr
1) NOP
Command
Command
Command
dest_bit, src_bit
command #2.
The next instruction word will be skipped if the result was 0.
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following MOVSZ is a single-word instruction.
Words
Words
Words
4
4
1
1
1
1 or 2 (skip)
1 or 2 (skip)
(4 or 8)
(4 or 8)
Cycles
Cycles
Cycles
4 (16)
4 (16)
Move incremented or decremented src to dest and skip if zero
1 (4)
Affects
Affects
Affects
op.bit1
op.bit1
none
W
W
0111 bbbf ffff SB op.bit2
0100 bbbf ffff CLRB op.bit1
0110 bbbf ffff SNB op.bit2
0101 bbbf ffff SETB op.bit1
0110 bbbf ffff SNB op.bit2
0100 bbbf ffff CLRB op.bit1
0111 bbbf ffff SB op.bit2
0101 bbbf ffff SETB op.bit1
0011 110f ffff MOVSZ W, ++fr
0010 110f ffff MOVSZ W, --fr
0000 0000 0000 NOP
Move src_bit to dest_bit
Coding
Coding
Coding
No operation

Related parts for 45111