Texas-instruments MSP50C6xx Manuel d'utilisateur Page 261

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 390
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 260
Individual Instruction Descriptions
4-175Assembly Language Instructions
4.14.79 STAG Set Tag
Syntax
[label] name dest Clock, clk Word, w With RPT, clk Class
STAG {adrs} Table 446 Table 446 5
Execution memory tag bit at address adrs 1
PC PC + w
Flags Affected None
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STAG {adrs}
1 1 0 1 0 1 1 0 0 adrs
x dma16 (for direct) or offset16 (long relative) [see section 4.13]
Description Sets the tag bit at the addressed memory location. All addressing modes are
available. Note that this instruction accesses only the 17
th
bit of the RAM
location. The argument, {adrs}, is interpreted as bytes. For odd RAM byte
addresses, the least significant bit is ignored.
See Also RTAG, RFLAG, SFLAG
Example 4.14.79.1 STAG *R2+R5
Set TAG bit of the word in RAM byte address, R2 + R5. R2 and R5 remain unchanged.
Example 4.14.79.2 STAG *0x200 * 2
Set TAG bit of RAM word 0x200 (RAM byte address 0x400).
Example 4.14.79.3 STAG *0x401
Set TAG bit of RAM word 0x200 (RAM byte address 0x400).
Vue de la page 260
1 2 ... 256 257 258 259 260 261 262 263 264 265 266 ... 389 390

Commentaires sur ces manuels

Pas de commentaire