45181 Parallax Inc, 45181 Datasheet - Page 128

SX TECH TOOL KIT NO POWER

45181

Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet

Specifications of 45181

Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
13 Appendix C: SX Instruction Set
CSAE
Operation: op1 is compared to op2. If op1 is greater than or equal to op2, the following instruction word is skipped.
Note:
CSB
Operation: op1 is compared to op2. If op1 is less than op2, the following instruction word is skipped. W is left
Note:
Page 128 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) CSAE
2) CSAE
1) CSB
2) CSB
Command
Command
op1, op2
fr, #literal
fr1, fr2
W is left holding the result of op1 - op2. If CARRYX is specified, c affects the result. Insert an STC before
command to avoid strange results.
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following CSAE is a single-word instruction.
op1, op2
fr, #literal
fr1, fr2
holding the result of op1 - op2. If CARRYX is specified, c affects the result. Insert an STC before command to
avoid strange results.
Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction
following CSB is a single-word instruction.
Words
Words
3
3
3
3
3 or 4 (skip)
3 or 4 (skip)
3 or 4 (skip)
3 or 4 (skip)
(12 or 16)
(12 or 16)
(12 or 16)
(12 or 16)
Cycles
Cycles
Compare op1 to op2 and skip if above or equal
W, C, DC, Z
W, C, DC, Z
W, C, DC, Z
W, C, DC, Z
Affects
Affects
Compare op1 to op2 and skip if below
1100 kkkk kkkk MOV W, #lit
0000 100f ffff MOV W, fr-W
0111 0000 0011 SC
0010 000f ffff MOV W, fr2
0000 100f ffff MOV W, fr1-W
0111 0000 0011 SC
1100 kkkk kkkk MOV W, #lit
0000 100f ffff MOV W, fr-W
0110 0000 0011 SNC
0010 000f ffff MOV W, fr2
0000 100f ffff MOV W, fr1-W
0110 0000 0011 SNC
Coding
Coding

Related parts for 45181