diff options
| author | Keith Packard <keithp@keithp.com> | 2009-06-04 11:20:10 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-06-04 11:20:10 -0700 |
| commit | 208bc15714c7b4020c017eef19011c4eb9ab51e2 (patch) | |
| tree | e49f0098dd29ec7666655c749ce4374c03d96591 /cctools/s51/commands | |
| parent | 17d2432a8b9c15963cd3b821f025ad33972ef477 (diff) | |
Move build and debug tools to 'cctools' directory.
These tools were merged in from the ccdbg package.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'cctools/s51/commands')
| -rw-r--r-- | cctools/s51/commands | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/cctools/s51/commands b/cctools/s51/commands new file mode 100644 index 00000000..aba65cd0 --- /dev/null +++ b/cctools/s51/commands @@ -0,0 +1,60 @@ +Listens on port 9756 for a command stream. + +Dump commands: + di <start> <end> - dump imem + ds <start> <end> - dump sprs + dx <start> <end> - dump xaddr + + Returns a string of hex pairs, each preceded by a space, + with 8 pairs per line + +Memory access commands: + set mem <prefix> <start> <end> + dump <prefix> <start> <end> + + <prefix> is one of: + + xram - external ram or external stack + rom - code space + iram - internal ram or stack + sfr - special function register + + + dump <addr> + set bit <addr> + + bit addressable space + +Set PC: + + pc <addr> + + Sets PC to specified address + + pc + + Returns current PC + +Breakpoints + + break <addr> + clear <addr> + +Load a file + + file "<filename>" + +Execution control: + + run <start> - run starting at <start> + run <start> <stop> - set temporary bp at <stop> + run - continue + next - step over calls(?) + step - step one instruction + + reset - reset the simulator + res - synonym? + +Error messages: + + start with "Error:" |
