beautypg.com

Locals window, In the, View a decimal value – Zilog ZUSBOPTS User Manual

Page 367: View an ascii value, View a null-terminated ascii (asciz) string

background image

UM017105-0511

Debug Windows

Zilog Developer Studio II – ZNEO™

User Manual

339

View a Decimal Value

To view the decimal values of an expression, perform the following brief procedure.

1. Enter a decimal expression in the format

dec

expression in the

Expression

column;

for example, enter

dec huns

.

2. Press the

Enter

key. The decimal value displays in the

Value

column.

To view the decimal values for all expressions, select

Hexadecimal Display

from the con-

text menu.

View an ASCII Value

To view the ASCII values of an expression, perform the following brief procedure.

1. Enter an ASCII expression in the format

ascii

expression in the

Expression

col-

umn; for example, enter

ascii ones

.

2. Press the

Enter

key. The ASCII value displays in the

Value

column.

View a NULL-Terminated ASCII (ASCIZ) String

To view the NULL-terminated ASCII (ASCIZ) values of an expression, perform the fol-
lowing brief procedure.

1. Enter an ASCIZ expression in the format

asciz

expression in the

Expression

col-

umn; for example, enter

asciz ones

.

2. Press the

Enter

key. The ASCIZ value displays in the

Value

column.

Locals Window

Click the Locals Window button to show or hide the Locals window. The Locals window,
shown in Figure 149, displays all local variables that are currently in scope. Updated val-
ues appear in red.

The

0x

prefix indicates that the values are displayed in hexadecimal format. If you want

the values to be displayed in decimal format, select

Hexadecimal Display

from the con-

text menu.

If the Locals window displays unexpected values, deselect the

Use Register Variables

checkbox. See

Use Register Variables

– see page 57.

Note:

Note:

This manual is related to the following products: