CC2430
Radio
Table 46: Instruction Set Summary
Opcode Bit number
: CSMA/CA Strobe Processor
Mnemonic
7
6
5
4
3
2
1
0
Description11
SKIP C,S
0
S
N
C
Skip S instructions when condition (C xor
N) is true. See Table 48 for C conditional
codes
WAIT W
1
0
0
W
Wait for W number of MAC Timer
overflows. If W is zero, wait for 32 MAC
Timer overflows
WEVENT
WAITX
1
1
0
0
1
1
1
1
1
1
0
0
0
0
1
1
0
1
0
Wait until MAC Timer value is greater than
or equal to compare value in T2CMP
Wait for CSPX number of backoffs. When
CSPX is zero there is no wait.
LABEL
RPT
1
1
0
0
1
1
1
0
1
N
Label next instruction as loop start
C
Repeat from start of loop if condition (C
xor N) is true. See Table 48 for C
conditional codes
INT
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
0
0
1
1
Assert interrupt
INCY
Increment CSPY
INCMAXY
DECY
M
Increment CSPY not greater than M
Decrement CSPY
1
1
1
1
1
0
0
1
0
DECZ
Decrement CSPZ
RANDXY
Sxxx
Load CSPX with CSPY bit random value.
Command strobe instructions
Immediate strobe instructions
STRB
STRB
ISxxx
11 Refer to Table 47 for full description of each instruction
14.34.8 Instruction Set Definition
There are 14 basic instruction types.
Furthermore the Command Strobe and
Immediate Strobe instructions can each be
divided into eleven sub-instructions giving an
effective number of 34 different instructions.
Table 47 describe each instruction.
PC
=
CSP program counter
RF register CSPX
RF register CSPY
RF register CSPZ
RF register CSPT
not
greater than
less than
bit wise or
X
Y
Z
T
!
>
<
|
=
=
=
=
=
=
=
=
Note: the following definitions are used in this
section
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 179 of 211