beautypg.com

Print, Quit, Print pwd quit – Zilog EZ80F916 User Manual

Page 427: Table 24

background image

UM014423-0607

Using the Command Processor

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

407

Next: “print” on page 407

Previous: “Linker Options” on page 405

print

The

print

command writes formatted data to the Command Output window and the log

(if the log is enabled). Each expression is evaluated, and the value is inserted into the
format_string, which is equivalent to that supported by a C language

printf

. The follow-

ing is the syntax of the

print

command:

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 following is the syntax of

the

pwd

command:

pwd

quit

The

quit

command ends the current debug session. The following is the syntax of the

quit

command:

quit

Table 24. ZSL Options

Option Name

Corresponding Option in Project Settings Dialog Box

Acceptable Values

usezsl

ZSL page, Include ZiLOG Standard Library (Peripheral Support)
check box or Objects and Libraries page, ZiLOG Standard
Library (Peripheral Support) check box

TRUE, FALSE

zslports

ZSL page, Ports area

comma-delimited string
(“Port A,Port D”)

zsluarts

ZSL page, Uarts area

comma-delimited string
(“UART0,UART1”)

This manual is related to the following products: