Arm VERSION 1.2 Manuel d'utilisateur Page 182

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 360
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 181
ARM Instruction Reference
4-72 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
4.8.1 SWI
Software interrupt.
Syntax
SWI{cond} immed_24
where:
cond
is an optional condition code (see Conditional execution on page 4-4).
immed_24
is an expression evaluating to an integer in the range 0-2
24
1 (a 24-bit
integer).
Usage
The
SWI
instruction causes a SWI exception. This means that the processor mode
changes to Supervisor, the CPSR is saved to the Supervisor mode SPSR, and execution
branches to the SWI vector (see the Handling Processor Exceptions chapter in ADS
Developer Guide).
Condition flags
This instruction does not affect the flags.
Architectures
This instruction is available in all versions of the ARM architecture.
Example
SWI 0x123456
Vue de la page 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 359 360

Commentaires sur ces manuels

Pas de commentaire