beautypg.com

Supported script file commands, See the – Zilog Z8F0130 User Manual

Page 519

background image

UM013037-1212

Supported Script File Commands

Zilog Developer Studio II – Z8 Encore!

User Manual

495

reset

bp done

go

wait 2000 ; Wait 2 seconds

print "pc = %x" reg PC

log off ; Disable logging

quit ; Exit debug mode

close project

wait 2000

open project "focus2.zdsproj"

reset

bp done

go

wait 2000 ; Wait 2 seconds

log "focus2.log" ; Open log file

log on ; Enable logging

print "pc = %x" reg PC

log off ; Disable logging

quit

exit; Exit debug mode

This script consecutively opens two projects, sets a breakpoint at label

done

, runs to the

breakpoint, and logs the value of the PC register. After the second project is complete, the
script exits the IDE. The first project is also rebuilt.

Supported Script File Commands

The Command Processor supports the following script file commands: