ARM VERSION 1.2 Guide de l'utilisateur Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 133
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
2.8 Interworking between ARM and Thumb states
Select the /interwork option when compiling or assembling code if you want:
ARM routines to be able to return to a Thumb state caller
Thumb routines to be able to return to an ARM state caller
the linker to provide the code to change state when calling from ARM to Thumb or from Thumb to ARM.
Select the/nointerwork option when compiling or assembling code if either:
your system does not use Thumb
you provide the assembler code to handle all changes of state.
The default is:
/interwork if you are compiling or assembling for an ARM v5T processor
/nointerwork otherwise.
If you select the interworking option, you can call a routine in a different module without considering which instruction
set it uses. If necessary, the linker inserts an interworking call veneer, or patches the call site. This works for
compiled or assembled code.
See Chapter 3 Interworking ARM and Thumb for detailed information.
2.8.1 Register usage with interworking
The usage of registers is the same with or without interworking (see Register roles and names).
Using the Procedure Call Standard
Copyright ?1999 2001 ARM Limited 2-11
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 132 133

Commentaires sur ces manuels

Pas de commentaire