Example, Instruction formats and opcodes – Freescale Semiconductor StarCore SC140 User Manual
Page 681

ROR
SC140 DSP Core Reference Manual
A-367
Example
rte
Instruction Formats and Opcodes
Register/Memory Address
Before
After
ESP
$00000010
$00000008
($000C)
$00E00000
($0008)
$0000000A
PC
$0000000A
SR
$00E40000
$00E00000
EMR
$00000000
Instruction
Words
Cycles
1
Note 1: The shadow SP is valid or not valid. RTE uses 5 cycles if the shadow SP is valid. RTE uses 6 cycles if
the shadow SP is not valid.
Type
Opcode
15
8
7
0
RTE
1
5/6
4
1
0
0
1
1
1
1
1
0
1
1
1
0
0
1
1