
14
Running a Program and Probing Architectural State
8
newnode
Create a new processor instance (think of this as an inchoate embedded system)
sizemem
Connect/resize memory for the processor
srecl
Load an S-record format binary into the processor
run
Mark this embedded system as runnable; If you have multiple, can mark subset as runnable
on
Turn on the simulator to start running all embedded systems marked as runnable
dumpregs
Display contents of registers
ni
Display number of instructions executed
showclock
Display number of emulated clock cycles elapsed
showpipe
Enable showing pipeline stages while simulating processor (different from dumpipe)
dumpipe
Show current contents of pipeline