
UM017105-0511 Supported Script File Commands
Zilog Developer Studio II – ZNEO™
User Manual
371
? [<data_type>] [<radix>] <expr> [:<count>]
<data_type> can consist of one of the following types:
short
int
[eger]
long
ascii
asciz
<radix> can consist of one of the following types:
dec[imal]
hex[adecimal]
oct[al]
bin[ary]
Omitting a <data_type> or <radix> results in using the
$data_type or $radix pseudo-
variable, respectively.
[:<count>] represents the number of items to display.
The following list presents examples.
examine (?) for Variables
The examine command displays the values of variables. This command works for values
of any type, including arrays and structures. The following example presents the syntax:
? <expression>
The following list presents examples:
? x shows the value of x using $data_type and $radix.
? ascii STR shows the ASCII string representation of STR.
? 0x1000 shows the value of 0x1000 in the $data_type and $radix.
? *0x1000 shows the byte at address 0x1000.
? *0x1000 :25 shows 25 bytes at address 0x1000.
? L0 shows the value of register D0:0 using $data_type and $radix.
? asciz D0:0 shows the null-terminated string pointed to by the contents of register
D0:0.
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
Comentários a estes Manuais