Move.b d3,(r7+$3) – Freescale Semiconductor StarCore SC140 User Manual

Page 579

Advertising
background image

MOVE.B

SC140 DSP Core Reference Manual

A-265

Status and Conditions that Affect Instruction

Status and Conditions Changed by Instruction

Example

move.b d3,(r7+$3)

MOVE.B DR,(ea)

Writes a byte to memory. The effective memory address is obtained from an address register with an
optional offset or post-increment.

MOVE.B (SP+s15),DR

Reads a byte from memory, sign-extending it into a register. The effective memory address is obtained
from the active stack pointer (SP) with a signed 15-bit offset.

MOVE.B DR,(SP+s15)

Writes a byte to memory. The address is obtained from the stack pointer with a signed 15-bit offset.

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.

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination registers.

Register/Memory Address

Before

After

MCTL

$0000 0000

D3

$FF FFFF FFF8

R7

$0000 0050

$00000053

$F8

Advertising