beautypg.com

Locals window, Viewing a hexadecimal value, Viewing a decimal value – Zilog Z8F0130 User Manual

Page 423: Viewing an ascii value, Viewing a null-terminated ascii (asciz) string

background image

UM013037-1212

Locals Window

Zilog Developer Studio II – Z8 Encore!

User Manual

399

Viewing a Hexadecimal Value

To view the hexadecimal values of an expression, type hex expression in the Expression
column and press the

Enter

key. For example, enter

hex

tens

. The hexadecimal value

displays in the Value column.

To view the hexadecimal values for all expressions, select

Hexadecimal Display

from the

context menu.

You can also enter just the expression (for example, enter

tens

) to view the hexadecimal

value of any expression. Hexadecimal format is the default.

Viewing a Decimal Value

To view the decimal values of an expression, enter

dec

expression in the Expression col-

umn and press the

Enter

key. For example, enter

dec huns

. The decimal value displays

in the Value column.

To view the decimal values for all expressions, select

Hexadecimal Display

from the con-

text menu.

Viewing an ASCII Value

To view the ASCII values of an expression, enter

ascii

expression in the Expression col-

umn and press the

Enter

key. For example, enter

ascii ones

. The ASCII value displays

in the Value column.

Viewing a NULL-Terminated ASCII (ASCIZ) String

To view the NULL-terminated ASCII (ASCIZ) values of an expression, enter

asciz

expression in the Expression column and press the

Enter

key. For example, enter

asciz

ones

. The ASCIZ value displays in the Value column.

Locals Window

Click the

Locals Window

button to show or hide the

Locals

window, which displays all

local variables that are currently in scope. Updated values 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.

Note: