45205 Parallax Inc, 45205 Datasheet - Page 136

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
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 45205