Command reference of ucsim
General commands and information
help,?
Help about commands
show
Show licensing information
(
since 0.1.3
)
file,load FILE
Load FILE into ROM
(
since 0.2.24
)
download,dl
Download (intel hex) data
quit
Quit
(
changed 0.2.12
)
kill
Shut down the simulator
(
since 0.2.12
)
reset
Reset
wi,Wi
Search for string in Internal RAM
wx,Wx
Search for string in External RAM
wc,Wc
Search for string in ROM
gopt
Get value of option(s)
sopt
Set value of option
conf
Configuration
(
since 0.2.20
)
state
State of simulator
(
since 0.2.19
)
info
Information
(
since 0.2.20
)
timer a|d|g|r|s|v id [value]
Timer add|del|get|run|stop|value
(
since 0.2.19
)
Execution
g
Go
(
changed 0.2.12
)
stop
Stop
(
since 0.2.12
)
s
Step
n
Next
pc
Set/get PC
(
since 0.1.5
)
run
Go
(
since 0.2.20
)
Breakpoints
bs
Set FETCH Breakpoint (
removed 0.2.20, use
break
or
tbreak
instead
)
bse
Set EVENT Breakpoint
bd
Delete FETCH Breakpoint (
removed 0.2.20
, use
clear
instead)
bde
Delete EVENT Breakpoint
ba
Delete all breakpoints
bl
List Breakpoints (
removed 0.2.20, use
info breakpoints
instead
)
break
Set fix breakpoint
(
since 0.2.20
)
tbreak
Set fix breakpoint
(
since 0.2.20
)
clear
Clear fix breakpoint
(
since 0.2.20
)
Dump commands
dis
Disassemble
dc
Dump code in disass format
dch
Dump code in hex format
di
Dump Internal RAM
dx
Dump External RAM
dr Dump registers (
removed 0.2.37
, use
info registers
instead)
dp
Dump ports
ds
Dump SFR
db
Dump bit
Set commands
si
Set Internal RAM
sx
Set External RAM
sc
Set code (ROM)
ss
Set SFR area
sb
Set bit
sp
Set port pins
fi
Fill IRAM area with data
fx
Fill XRAM area with data
fs
Fill SFR area with data
fc
Fill ROM area with data