beautypg.com

Move.b, Byte move (agu), Description – Freescale Semiconductor StarCore SC140 User Manual

Page 578: Operation assembler syntax

background image

A-264

SC140 DSP Core Reference Manual

MOVE.B

MOVE.B

Byte Move (AGU)

MOVE.B

Description

These operations move 8-bit data from memory to a data or address register, or from a register to memory.

Operation

Assembler Syntax

(aa)

↔ DR

MOVE.B (a16),DR {0

≤ a16 < 2

16

}

MOVE.B DR,(a16) {0

≤ a16 < 2

16

}

DR

→ (aa)

MOVE.B DR,(a32) {0

≤ a32 < 2

32

}

DR

→(Rn+s15)

MOVE.B DR,(Rn+s15) {–2

14

≤ s15 < 2

14

}

(ea)

↔ DR

MOVE.B (ea),DR
MOVE.B DR,(ea)

(SP+s15)

↔ DR

MOVE.B (SP+s15),DR {–2

14

≤ s15 < 2

14

}

MOVE.B DR,(SP+s15) {–2

14

≤ s15 < 2

14

}

MOVE.B (a16),DR

Reads a byte from a 16-bit absolute memory address, sign-extending it into a register.

MOVE.B DR,(a16)

Writes a byte to a 16-bit absolute memory address.

MOVE.B DR,(a32)

Writes a byte to a 32-bit absolute memory address.

MOVE.B DR,(Rn+s15)

Writes a byte to memory from a register. The effective memory address is obtained from an address
register with a signed 15-bit offset.

MOVE.B (ea),DR

Reads a byte from memory, sign-extending it into a register. The effective memory address is obtained
from an address register with an optional offset or post-increment.

SIGN EXTENSION

39

8

0

0

8

31

SIGN EXTENSION