Freescale Semiconductor SC140 specifications MOVE.2L, Move.2l d0d1,r0, Da,Db ↔ EA

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 570
Image 570

MOVE.2L

MOVE.2L

Move Two Integer Longs

MOVE.2L

 

to/from a Register Pair (AGU)

 

Operation

Assembler Syntax

 

Da,Db ↔ (EA)

MOVE.2L

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

 

MOVE.2L

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

Description

These operations move two long words from registers to memory, or from memory to registers.

MOVE.2L Da:Db,(EA)

MOVE.2L (EA),Da:Db

Move two long signed integer words from a data register pair (Da:Db) to memory, or from memory to a data register pair. The effective memory address of the two long words is obtained from an address register with an optional offset or post-increment (EA).

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 + 4). 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

39

32

0

 

SIGN

(EA)

EXTENSION

 

SIGN

(EA + 4)

EXTENSION

 

 

 

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

move.2l d0:d1,(r0)

Register/Memory Address

MCTL

BeforeAfter

$0000 0000

A-256

SC140 DSP Core Reference Manual

Page 570
Image 570
Freescale Semiconductor SC140 specifications Move.2l d0d1,r0, Da,Db ↔ EA, MOVE.2L DaDb,EA MOVE.2L EA,DaDb