File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,24 @@ Synopsis
15
15
Description
16
16
-----------
17
17
18
- Patches a ROM file with a jump table and generates the necessary jumpt table
18
+ Patches a ROM file with a jump table and generates the necessary jump table
19
19
index definitions.
20
20
21
21
Reads the symbols for _ROM_ from stdin, keeping only those listed in _CONFIG_
22
22
and generates a jump table in the order of the symbols in _CONFIG_. Symbol
23
23
definition assembler code is sent to stdout. The end of the _PATH_'th page of
24
24
_ROM_ is populated with the jump table.
25
25
26
+ Each entry in the jump table is 3 octets long and consists of the opcode for
27
+ the JP instruction and the target address: 0xC3XXXX. The table grows backwards
28
+ from the end of the page.
29
+
30
+ The output sent to stdout consists of lines of assembler code assigning names
31
+ to the indicies for the jump table: .equ METHOD 0xIIPP. _II_ represents the
32
+ index and _PP_ the page for _METHOD_.
33
+
34
+
35
+
26
36
Examples
27
37
--------
28
38
You can’t perform that action at this time.
0 commit comments