Freescale Semiconductor StarCore SC140 User Manual
Page 100

2-68
SC140 DSP Core Reference Manual
Memory Interface
Table 2-30 shows the representation of the change-of-flow instructions in big and little endian modes. In
this table, it is assumed that the stack access is to address A0. This shows how the contents of the PC and
SR are transferred to/from memory like 32-bit long words.
Table 2-31 shows the representation of the control instructions in big and little endian modes. In this table,
it is assumed that the stack access is to address A0.
Table 2-31. Control Instructions in Big and Little Endian Modes
.
Table 2-30. Non-Loop Change-of-Flow Instructions in Big and Little Endian Modes
Instruction
Register Operands
Big
Endian
Little
Endian
BSR
BSRD
JSR
JSRD
RTE
RTED
A0 = A
A1 = B
A2 = C
A3 = D
A4 = E
A5 = F
A6 = G
A7 = H
A0 = D
A1 = C
A2 = B
A3 = A
A4 = H
A5 = G
A6 = F
A7 = E
RTS
RTSD
RTSTK
RTSTKD
A0 = A
A1 = B
A2 = C
A3 = D
A0 = D
A1 = C
A2 = B
A3 = A
Instruction
Register Operands
Big
Endian
Little
Endian
TRAP
ILLEGAL
Interrupt Service
A0 = A
A1 = B
A2 = C
A3 = D
A4 = E
A5 = F
A6 = G
A7 = H
A0 = D
A1 = C
A2 = B
A3 = A
A4 = H
A5 = G
A6 = F
A7 = E
0
31
A
B
C
D
E
F
G
H
PC =
SR =
0
31
A
B
C
D
PC =
0
31
A
B
C
D
E
F
G
H
PC =
SR =