Freescale Semiconductor SC140 specifications Move.l d0,r0, MOVE.L SP+s15,C4 MOVE.L C4,SP+s15

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 595
Image 595

MOVE.L

MOVE.L (SP+s15),C4

MOVE.L C4,(SP+s15)

Moves a 32-bit long word between a general register and a memory address pointed to by the active stack pointer plus a 15-bit signed offset.

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.

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

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Example

move.l d0,(r0)

Register/Memory Address

MCTL

D0

R0

$0084

Before

$0000 0000

$FF FFFF FFFA

$0000 0084

After

$FFFF FFFA

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

MOVE.L (a32),DR

3

1

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

H

H

H

H

A

A

A

a

a

w

1

0

MOVE.L DR,(a32)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

A

A

A

A

A

A

A

A

A

A

A

A

A

 

 

 

 

1

0

a a a a a a

a a a a a a a a

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

MOVE.L (a16),C4

2

1

3

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

w D D D D

A

A

A

0

1

0

D

1

MOVE.L C4,(a16)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

0

A

A

A

A

A

A

A

A

A

A

A

A

A

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

MOVE.L (Rn+u3),DR

1

2

4

1 0 1 1 H H H H w 1 R R R s s s

SC140 DSP Core Reference Manual

A-281

Page 595
Image 595
Freescale Semiconductor SC140 specifications Move.l d0,r0, MOVE.L SP+s15,C4 MOVE.L C4,SP+s15