Freescale Semiconductor SC140 specifications Move.B, Byte Move AGU

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 578
Image 578

MOVE.B

MOVE.B

Byte Move (AGU)

MOVE.B

Operation

Assembler Syntax

 

(aa) ↔ DR

MOVE.B (a16),DR {0 a16 < 216}

 

MOVE.B DR,(a16) {0 a16 < 216}

DR → (aa)

MOVE.B DR,(a32) {0 a32 < 232}

DR→(Rn+s15)

MOVE.B DR,(Rn+s15) {–214s15 < 214}

(ea) ↔ DR

MOVE.B (ea),DR

 

 

MOVE.B DR,(ea)

 

(SP+s15) ↔ DR

MOVE.B (SP+s15),DR {–214s15 < 214}

 

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

s15 < 214}

Description

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

31

8

0

 

 

SIGN EXTENSION

 

 

 

 

 

39

 

8

0

 

 

SIGN EXTENSION

 

 

 

 

 

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.

A-264

SC140 DSP Core Reference Manual

Page 578
Image 578
Freescale Semiconductor SC140 specifications Move.B, Byte Move AGU