beautypg.com

Quit, Rebuild, Reset – Zilog Z8F0130 User Manual

Page 537: Savemem, Pwd quit rebuild reset savemem, Pwd quit rebuild reset

background image

UM013037-1212

pwd

Zilog Developer Studio II – Z8 Encore!

User Manual

513

print

"<format_string>" expression1 expression2 ... expressionN

For example:

PRINT "the pc is %x" REG PC

print "pc: %x, sp: %x" REG PC REG SP

pwd

The

pwd

command retrieves the current working directory. The syntax of the

pwd

com-

mand is:

pwd

quit

The

quit

command exits the current debug session. The syntax of the

quit

command is:

quit

rebuild

The

rebuild

command rebuilds the currently open project. This command blocks the

execution of other commands until the build process is complete. The syntax of the

rebuild

command is:

rebuild

reset

The

reset

command resets execution of program code to the beginning of the program.

This command starts a debug session if one has not been started. The syntax of the

reset

command is:

reset

By default, the

reset

command resets the PC to symbol 'main'. If you deselect the

Reset

to Symbol 'main' (Where Applicable)

checkbox on the

Debugger

tab of the

Options

dialog box (see the

Options: Debugger Tab

section on page 143), the PC resets to the first

line of the program.

savemem

The

savemem

command saves the memory content of the specified range into an Intel hex

file, a binary file, or a text file. The functionality is similar to the Save to File command
available from the context menu in the

Memory

window (see the

Saving to a File

section

on page 395). The syntax of the

savemem

command is: