beautypg.com

Examine (?) for variables, Exit, Fillmem – Zilog Z8F0130 User Manual

Page 527: Examine (?) for variables exit fillmem

background image

UM013037-1212

examine (?) for Variables

Zilog Developer Studio II – Z8 Encore!

User Manual

503

examine (?) for Variables

The examine command displays the values of variables. This command works for values
of any type, including arrays and structures. The syntax is:

?

The following are examples:

To see the value of z, enter

?z

To see the nth value of array x, enter

? x[n]

To see all values of array x, enter

?x

To see the nth through the n+5th values of array x, enter

?x[n]:5

If x is an array of pointers to strings, enter

? asciz *x[n]

When displaying a structure's value, the examine command also displays the names of each
of the structure’s elements.

exit

The

exit

command exits the IDE. The syntax of the

exit

command is:

exit

fillmem

The

fillmem

command fills a block of a specified memory space with the specified

value. The functionality is similar to the Fill Memory command available from the context
menu in the

Memory

window (see the

Filling Memory

section on page 394). The syntax

of the

fillmem

command is:

fillmem SPACE="<displayed spacename>" FILLVALUE="<hexcadecimal

value>"

[STARTADDRESS="<hexadecimal address>"] [ENDADDRESS="<hexadecimal

address>"]

Note: