summaryrefslogtreecommitdiff
path: root/ao-tools/ao-dbg/commands
blob: aba65cd0f5b3de8ecd56c5ada56e7a68db5a843e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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:"