Freescale Semiconductor SC140 EA ↔ DaDbDcDd, MOVE.4W EA,DaDbDcDd MOVE.4W DaDbDcDd,EA

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 576
Image 576

MOVE.4W

MOVE.4W

Move Four Integer Words

MOVE.4W

 

to/from a Register Quad (AGU)

 

Operation

Assembler Syntax

 

(EA) ↔ Da:Db:Dc:Dd

MOVE.4W

(EA),Da:Db:Dc:Dd {0 EA < 232,Q}

 

MOVE.4W

Da:Db:Dc:Dd,(EA){0 EA < 232,Q}

Description

MOVE.4W (EA),Da:Db:Dc:Dd

MOVE.4W Da:Db:Dc:Dd,(EA)

Moves four signed integer words from memory to a data register quad (Da:Db:Dc:Dd), or from the register quad to memory. The effective memory address of the four words is obtained from an address register with an optional offset or post-increment (EA). Each word is stored in the LP of its respective data register.

The first operand (Da) will be moved to or from the lower memory address (EA). The second operand (Db) will be moved to or from memory address (EA + 2). The third operand (Dc) will be moved to or from memory address (EA + 4). And, the fourth operand (Dd) will be moved to or from memory address (EA + 6). In order to keep this behavior in both big endian and little endian modes, the core will drive or interpret the data bus differently in each mode. See Section 2.4.1, “SC140 Endian Support,” on page 2-56, for more detail on bus and memory behavior for each mode.

The address register values used with this instruction must be a multiple of 8, quad word-aligned.

Da

Db

Dc

Dd

39

16

0

SIGN EXTENSION

 

(EA)

 

 

 

SIGN EXTENSION

 

(EA + 2)

 

 

 

SIGN EXTENSION

 

(EA + 4)

 

 

 

SIGN EXTENSION

 

(EA + 6)

 

 

 

Status and Conditions that Affect Instruction

Register Address

Bit Name

Description

MCTL[31:0]

AM3–AM0

Address modification bits when updating R0–R7. Otherwise, the

 

 

instruction is not affected by MCTL.

EMR[16]

BEM

Set if big endian mode, cleared if little endian mode.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination registers.

Example

A-262

SC140 DSP Core Reference Manual

Page 576
Image 576
Freescale Semiconductor SC140 specifications EA ↔ DaDbDcDd, MOVE.4W EA,DaDbDcDd MOVE.4W DaDbDcDd,EA