EasyManua.ls Logo

Texas Instruments TMS320C67X - Page 246

Texas Instruments TMS320C67X
465 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MVKH/MVKLH Move 16-Bit Constant Into Upper Bits of Register
3-186 Instruction Set SPRU733
Instruction Type Single-cycle
Delay Slots 0
Note:
Use the MVK instruction (page 3-183) to load 16-bit constants. The assem-
bler generates a warning for any constant over 16 bits. To load 32-bit
constants, such as 1234 5678h, use the following pair of instructions:
MVKL 0x12345678
MVKH 0x12345678
If you are loading the address of a label, use:
MVKL label
MVKH label
Example 1 MVKH .S1 0A329123h,A1
Before instruction 1 cycle after instruction
A1
0000 7634h
A1 0A32 7634h
Example 2 MVKLH .S1 7A8h,A1
Before instruction 1 cycle after instruction
A1
FFFF F25Ah
A1 07A8 F25Ah

Related product manuals