Texas Instruments TMS320C67X/C67X+ DSP Manual de usuario Pagina 246

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 465
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 245
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
Vista de pagina 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 464 465

Comentarios a estos manuales

Sin comentarios