The simulator can be controlled with a simple monitor program which
uses the command console to read commands and print out results. After
starting the program you see a prompt on the command console and you
can write in commands after the prompt:
g [start [stop]] Go
stop Stop
pc [address] Get/set content of PC
s [step] Step
n [step] Next
bse wi|ri|wx|rx|ws|rs|rc f|d addr [hit]
Set EVENT Breakpoint
bde wi|ri|wx|rx|ws|rs|rc addr
Delete EVENT Breakpoint
ba Delete all breakpoints
dis [start [offset [lines]]]
Disassemble code
dp Dump ports
ds [addr...] Dump SFR
db addr... Dump bit
si addr data... Set Internal RAM
sx addr data... Set External RAM
sc addr data... Set code (ROM)
ss addr data... Set SFR area
sb addr data... Set bit
sp port data Set port pins
fi start stop data Fill IRAM area with `data'
fx start stop data Fill XRAM area with `data'
fs start stop data Fill SFR area with `data'
fc start stop data Fill ROM area with `data'
wi,Wi string Search for `string' in IRAM (Wi case sensitive)
wx,Wx string Search for `string' in XRAM (Wx case sensitive)
wc,Wc string Search for `string' in ROM (Wc case sensitive)
sopt opt value Set value of option
gopt [opt] Get value of option(s)
show c|w Show licensing information
----
Set of new commands:
conf Configuration
state State of simulator
file,load "FILE" Load FILE into ROM
download,dl Download (intel hex) data
info Information
get Get
set Set
timer a|d|g|r|s|v id [value]
Timer add|del|get|run|stop|value
run Go
step Step
reset Reset
dump i|x|r|s [start [stop]]
Dump memory
di [start [stop]] Dump Internal RAM
dx [start [stop]] Dump External RAM
dch [start [stop]] Dump code in hex form
dc [start [stop]] Dump code in disass form
break addr [hit] Set fix breakpoint
tbreak addr [hit] Set temporary breakpoint
clear [addr...] Clear fix breakpoint
help,? Help about commands
quit Quit
kill Shut down the simulator
In command reference you can find more
information about breakpoints and execution of the simulated program.