Freescale Semiconductor SC140 specifications Moveu.w #$2345,d10.l, #u16 → Db3116, #u16 → Db150

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 627
Image 627

MOVEU.W

MOVEU.W Move Unsigned Immediate Word MOVEU.W

to a Register Portion (AGU)

Operation

Assembler Syntax

 

 

#u16 → Db[31:16]

MOVEU.W

#u16,Db.H {0

u16

<

216}

#u16 → Db[15:0]

MOVEU.W

#u16,Db.L {0

u16

<

216}

Description

These operations move an immediate unsigned word to a high/low part of a data register (Db) without changing the other bits in the data register (Db).

MOVEU.W #u16,Db.H

Loads an immediate unsigned word into the HP of a data register (Db). The other bits in the register are unchanged.

 

39

32

16

0

Db

UN-

 

 

UNCHANGED

 

CHANGED

 

 

MOVEU.W #u16,Db.L

Loads an immediate unsigned word into the LP of a data register (Db). The other bits in the register are unchanged.

Db

39

16

0

UNCHANGED

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Example

moveu.w #$2345,d10.l

Register/Memory Address

Before

Immediate

 

$2345

D10

 

$0:$00 ABCD EFFF

After

$0:$00 ABCD 2345

SC140 DSP Core Reference Manual

A-313

Page 627
Image 627
Freescale Semiconductor SC140 Moveu.w #$2345,d10.l, #u16 → Db3116, #u16 → Db150, MOVEU.W #u16,Db.H, MOVEU.W #u16,Db.L