English
Language : 

CC2430 Datasheet, PDF (194/234 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
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. The following sub-sections
describe each instruction.
Note: the following definitions are used in
this section
PC =
CSP program counter
X
=
RF register CSPX
Y
=
RF register CSPY
Z
=
RF register CSPZ
T
=
RF register CSPT
14.34.8.1 DECZ
Function:
Decrement Z
Description: The Z register is
decremented by 1. An original value of
0x00 will underflow to 0x0FF.
Operation: Z := Z-1
Opcode:
76543210
10111111
14.34.8.3 INCY
Function:
Increment Y
Description: The Y register is
incremented by 1. An original value of
0x0FF will overflow to 0x00.
Operation: Y := Y+1
Opcode:
76543210
10111101
14.34.8.4 INCMAXY
Function:
than M.
Increment Y not greater
Description: The Y register is
incremented by 1 if the result is less than
M otherwise Y register is loaded with value
M.
Operation: Y:= min(Y+1, M)
Opcode:
76543210
10110
M
14.34.8.2 DECY
Function:
Decrement Y
Description: The Y register is
decremented by 1. An original value of
0x00 will underflow to 0x0FF.
Operation: Y := Y-1
Opcode:
76543210
10111110
14.34.8.5 RANDXY
Function:
Load random value into X
Description: The [Y] LSB bits of X
register are loaded with random value.
Note that if two RANDXY instructions are
issued immediately after each other the
same random value will be used in both
cases.
Operation: X[Y-1:0]:= RNG_DOUT[Y-
1:0], X[7:Y] := 0
Opcode:
76543210
10111100
CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A
Page 194 of 232