Texas Instruments TMS320C28x Reference Manual page 380

Dsp cpu and instruction set
Table of Contents

Advertisement

MOVW DP, #16bit
SYNTAX OPTIONS
MOVW DP, #16bit
Operands
DP
#16bit
Description
Flags and
Modes
Repeat
Example
MOVW
MOVW
Data page register
16-bit immediate constant value
Load the data page register with a 16-bit constant:
DP(15:0) = 16bit;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
DP, #VarA
DP, #0F012h
OPCODE
0111 0110 0001 1111
CCCC CCCC CCCC CCCC
; Load DP with the data page that
; contains VarA.
; lower 0x003F FFC0 of memory
; Load DP with data page number 0xF012
MOVW DP, #16bit
Load the Entire Data Page
OBJMODE
RPT
X
Assumes VarA is in the
CYC
1
6-223

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF