Atmel AVR AT90S8515-4 Uživatelský manuál Strana 15

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 17
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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?)
Zobrazit stránku 14
1 2 ... 10 11 12 13 14 15 16 17

Komentáře k této Příručce

Žádné komentáře