Arm Cortex R4F Manuel d'utilisateur Page 339

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 456
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 338
Debug
ARM DDI 0363E Copyright © 2009 ARM Limited. All rights reserved. 11-70
ID013010 Non-Confidential, Unrestricted Access
// Step 1. Save R0.
saved_r0 := ReadRegister(0);
// Step 2. Execute instruction MCR p15, 0, R0, c0, c1, 0 through the ITR.
ExecuteARMInstruction(0xEE000010 + (CPnum<<8) + (opc1<<21) + (CRn<<16) + CRm + (opc2<<5));
// Step 3. Read the value of R0 that now contains the CP register.
CP15c1 := ReadRegister(0);
// Step 4. Restore the value of R0.
WriteRegister(0, saved_r0);
return CP15c1;
}
Vue de la page 338
1 2 ... 334 335 336 337 338 339 340 341 342 343 344 ... 455 456

Commentaires sur ces manuels

Pas de commentaire