Renesas Emulator System E8 Informações Técnicas Página 46

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 55
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 45
(3) The [Add Watch] dialog
expression:] edit box and click the [OK] button.
box will appear.
Enter "a" (symbol name) in the [Variable or
Figure 6.29 Specifying a Symbol Name
When specifying a local variable in C language as a watch symbol, note that the variable has a scope (a valid range).
l "a" specified in this example is also a local variable and cannot be watched when a break occurs in
) The Watch window shows the contents of symbol "a".
A local variable is only valid while the program counter (PC) points to a location in the function that declared the local
variable.
The symbo
another function.
(4
Figure 6.30 Contents of the Symbol Specified in the Watch Window
The Type column in the Watch window shows that symbol "a" is a signed long-type array (signed long[10]).
t a[9] is
e of each array element) shows that the elements are arranged in descending order as a
On the memory, a[0] is allocated to address H'45e, a[1] is allocated to address H'462, and the last elemen
allocated to address H'482.
The [Value] column (the valu
result of program execution; that is, the array elements have been created at random (line 32), sorted in ascending
order (line 38), and then sorted in the opposite order (line 39).
40
Vista de página 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 54 55

Comentários a estes Manuais

Sem comentários