English
Language : 

CC2430 Datasheet, PDF (196/234 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
14.34.8.10 LABEL
Function:
Set loop label
Description: Sets next instruction as
start of loop. If the current instruction is the
last instruction in the instruction memory
then the current PC is set as start of loop.
Only one level of loops is supported.
Operation: LABEL := PC+1
Opcode:
76543210
10111010
Opcode:
7 6543 210
1010N
C
14.34.8.12 SKIP S, C
Function:
Conditional
skip
instruction
Description: If condition C is true then
skip S instructions. The condition C may
be negated (N=1) and is described in the
table below (note same conditions as RPT
C instruction).
14.34.8.11 RPT C
Condition
code C
000
Description
CCA is true
Function
CCA=1
Function:
Conditional repeat
Description: If condition C is true then
jump to instruction defined by last LABEL
instruction, i.e. jump to start of loop. If the
condition is false or if a LABEL instruction
has not been executed, then execution will
continue from next instruction. The
condition C may be negated by setting
N=1 and is described in the table below.
001
Receiving
SFD =1
packet
010
CPU control CSPCTRL.CPU_CTRL =1
true
011
End of
PC=23
instruction
memory
100
Register X=0 X=0
101
Register Y=0 Y=0
110
Register Z=0 Z=0
Condition Description
code C
Function
111
Not used
-
000
CCA is true
CCA=1
Operation:
001
Receiving
SFD =1
packet
PC := PC+S+1 when (C xor N)=true
010
CPU control
PC := PC+1 when (C xor N)=false
CSPCTRL.CPU_CTRL=1
true
011
End of
PC=23
instruction
memory
Opcode:
7 6543 210
100
Register X=0 X=0
101
Register Y=0 Y=0
0
S
N
C
110
Register Z=0 Z=0
111
Not used
-
Operation:
PC := LABEL when (C xor N)=true
PC := PC+1 when (C xor N) =false or
LABEL=not set
CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A
Page 196 of 232