| 1 |
Listens on port 9756 for a command stream. |
| 2 |
|
| 3 |
Dump commands: |
| 4 |
di <start> <end> - dump imem |
| 5 |
ds <start> <end> - dump sprs |
| 6 |
dx <start> <end> - dump xaddr |
| 7 |
|
| 8 |
Returns a string of hex pairs, each preceded by a space, |
| 9 |
with 8 pairs per line |
| 10 |
|
| 11 |
Memory access commands: |
| 12 |
set mem <prefix> <start> <end> |
| 13 |
dump <prefix> <start> <end> |
| 14 |
|
| 15 |
<prefix> is one of: |
| 16 |
|
| 17 |
xram - external ram or external stack |
| 18 |
rom - code space |
| 19 |
iram - internal ram or stack |
| 20 |
sfr - special function register |
| 21 |
|
| 22 |
|
| 23 |
dump <addr> |
| 24 |
set bit <addr> |
| 25 |
|
| 26 |
bit addressable space |
| 27 |
|
| 28 |
Set PC: |
| 29 |
|
| 30 |
pc <addr> |
| 31 |
|
| 32 |
Sets PC to specified address |
| 33 |
|
| 34 |
pc |
| 35 |
|
| 36 |
Returns current PC |
| 37 |
|
| 38 |
Breakpoints |
| 39 |
|
| 40 |
break <addr> |
| 41 |
clear <addr> |
| 42 |
|
| 43 |
Load a file |
| 44 |
|
| 45 |
file "<filename>" |
| 46 |
|
| 47 |
Execution control: |
| 48 |
|
| 49 |
run <start> - run starting at <start> |
| 50 |
run <start> <stop> - set temporary bp at <stop> |
| 51 |
run - continue |
| 52 |
next - step over calls(?) |
| 53 |
step - step one instruction |
| 54 |
|
| 55 |
reset - reset the simulator |
| 56 |
res - synonym? |
| 57 |
|
| 58 |
Error messages: |
| 59 |
|
| 60 |
start with "Error:" |