Renesas M3T-SRA74 Manual de usuario Pagina 136

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 177
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 135
E8a Emulator User's Manual 6. Tutorial
6.15 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 main 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.28 [Locals] Window
Click mark ‘+’ at the left side of array a in the [Locals] window to display the elements.
When the user refers to the elements of array a before and after the execution of the sort
function, it is clarified that random data is sorted in descending order.
REJ10J1655-0400 Rev.4.00 Page 120 of 158
Apr 30, 2010
Vista de pagina 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 176 177

Comentarios a estos manuales

Sin comentarios