Atmel AVR AT90S8515-4 Manuel d'utilisateur Page 15

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 17
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 14
AN INTRODUCTION INTENDED FOR PEOPLE WITH NO PRIOR AVR KNOWLEDGE - AVRFREAKS.NET
14
Stepping through the Code
AVR Studio allows running the code at full speed until a given point, and then
halt. We will however take if nice and slow, and manually press a button for every
instruction that should be executed. This is called single-stepping the code.
Press [ F11 ] once. This is the key for single-stepping. Note that the yellow arrow
is now pointing at the <nobr>LDI Temp, 0xFF</nobr> instruction. This is the
instruction that is going to be executed next.
Press [ F11 ] once more. The LDI instruction is executed, and the arrow points to
the OUT instruction. The Temp Register has now the value 0xFF. (If you open the
"Register 16-31" tree you will see that R16 contains 0xFF. We defined Temp to be
R16, remember?)
Vue de la page 14
1 2 ... 10 11 12 13 14 15 16 17

Commentaires sur ces manuels

Pas de commentaire