Atmel AVR AT90S8515-4 Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 17
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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?)
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17

Comentarios a estos manuales

Sin comentarios