Example, Instruction formats and opcodes instruction fields, Tfra r0,osp – Freescale Semiconductor StarCore SC140 User Manual

Page 723

Advertising
background image

TFRA

SC140 DSP Core Reference Manual

A-409

Example

tfra r0,osp

Instruction Formats and Opcodes

Instruction Fields

Rn

RRR

Address Register

Register/Memory Address

Before

After

SR

$00E40000

R0

$2A33217B

NSP

$2A332178

Instruction

Words Cycles Type

Opcode

15

8

7

0

TFRA OSP, Rn

1

1

4

1

0

0

1

1

0

1

0

0

1

1

1

0

R R R

15

8

7

0

TFRA Rn, OSP

1

1

4

1

0

0

1

1

0

1

0

0

1

1

1

1

R R R

000

R0

010

R2

100

R4

110

R6

001

R1

011

R3

101

R5

111

R7

Note:

If registers R8–R15 are accessed instead of R0–R7, a prefix is used.

Advertising