Texas Instruments TMS320C67X/C67X+ DSP Manuel d'utilisateur Page 119

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 465
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 118
Add Signed 16-Bit Constant to Register ADDK
3-59 Instruction SetSPRU733
Add Signed 16-Bit Constant to Register
ADDK
Syntax ADDK (.unit) cst, dst
.unit = .S1 or .S2
Compatibility C62x, C64x, C67x, and C67x+ CPU
Opcode
31 29 28 27 23 22 76543210
creg z dst cst16 1 0 1 0 0 s p
3 1 5 16 1 1
Opcode map field used... For operand type... Unit
cst16
dst
scst16
uint
.S1, .S2
Description A 16-bit signed constant, cst16, is added to the dst register specified. The
result is placed in dst.
Execution if (cond) cst + dst
dst
else nop
Pipeline
Stage
E1
Read cst16
Written dst
Unit in use
.S
Instruction Type Single-cycle
Delay Slots 0
Example
ADDK .S1 15401,A1
Before instruction 1 cycle after instruction
A1
0021 37E1h
2176993 A1 0021 740Ah 2192394
Pipeline
Vue de la page 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 464 465

Commentaires sur ces manuels

Pas de commentaire