beautypg.com

Print, Print pwd – Zilog ZUSBOPTS User Manual

Page 408

background image

Supported Script File Commands

UM017105-0511

380

Zilog Developer Studio II – ZNEO™
User Manual

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 example presents 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 example pres-

ents the syntax of the

pwd

command:

pwd

rom

Address Spaces page, Constant Data (ROM) field. string (address range in the format

“<low>-<high>”)

sort

Output page, Sort Symbols By buttons.

string

startuptype

Objects and Libraries page, C Start-up Module
area.

string (“standard” or “included”)

undefisfatal

Warnings page, Treat Undefined Symbols as Fatal
checkbox.

TRUE, FALSE

usecrun

Objects and Libraries page, Use C Runtime Library
checkbox.

TRUE, FALSE

warnisfatal

Warnings page, Treat All Warnings as Fatal check-
box.

TRUE, FALSE

warnoverlap

Warnings page, Warn on Segment Overlap check-
box.

TRUE, FALSE

Table 33. Linker Options (Continued)

Option Name

Description or Corresponding Option in
Project Settings Dialog Box

Acceptable Values

This manual is related to the following products: