TFRA

TFRA

Transfer Address Register (AGU)

Operation

Assembler Syntax

rx → Rx

TFRA rx,Rx

Description

 

TFRA rx,Rx

 

Copies a source AGU register (rx) to a destination AGU register (Rx).

TFRA

Status and Conditions that Affect Instruction

Register Address

Bit Name

Description

SR[18]

EXP

Determines which stack pointer is used when the stack pointer is an

 

 

operand. Otherwise, the instruction is not affected by SR.

Status and Conditions Changed by Instruction

None.

Example

tfra r0,r1

Register/Memory Address

R0

R1

BeforeAfter

$1234 5678

$1234 5678

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

TFRA rx,Rx

1

1

2

Opcode

158 70

1 1 1 0 R R R R 1 1 1 0 r r r r

Instruction Fields

rx

rrrr

 

 

AGU Source Register

 

 

 

 

0000

N0

0100

1000

R0

1100

R4

 

 

 

 

 

 

 

 

 

 

0001

N1

0101

1001

R1

1101

R5

 

 

 

 

 

 

 

 

 

 

0010

N2

0110

PC

1010

R2

1110

R6

 

 

 

 

 

 

 

 

 

 

0011

N3

0111

SP

1011

R3

1111

R7

 

 

 

 

 

 

 

 

Note:

This instruction

can specify R8-R15 as operands by using a high register prefix.

 

A-406

SC140 DSP Core Reference Manual

Page 720
Image 720
Freescale Semiconductor SC140 specifications Tfra r0,r1, Rx → Rx, Tfra rx,Rx