Renesas H8S/2628 Información técnica Pagina 341

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 340
313
6.11 Displaying Local Variables
The user can display local variables in a function using the [Locals] window. For example, we will examine the
local variables in the tutorial function, which declares four local variables: a, j, i, and p_sam.
Select [Locals] from the [Symbol] submenu of the [View] menu. The [Locals] window is displayed.
The [Locals] window shows the local variables in the function currently pointed to by the program counter,
along with their values. Note, however, that the [Locals] window is initially empty because local variables are
yet to be declared.
Figure 6.19 [Locals] Window
Click mark ‘+’ at the left side of array a in the [Locals] window to display the elements.
Refer to the elements of array a before and after the execution of the sort function, and confirm that
random data is sorted in descending order.
Vista de pagina 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 429 430

Comentarios a estos manuales

Sin comentarios