summaryrefslogtreecommitdiff
path: root/todo.md
blob: bc0c74e2733b770b6cd6a0cdf114179dae5da5e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# TODO

- Automatically export functions, i.e. all marks with CALL xref have to have the
  following preamble:

```

  .global L000015de
  .type	L000015de, @function
```

- Implement CLI option that can be used to specify regions of RAM and IO
  registers. Custom ROM location and size is still not the case, only 4MiB at
  the base `0x00000000` is supported and it remains.
- Implement address substitution with some symbol instead of raw offset on all
  instructions, that support `Word`, `Long`, `(d16,PC)` or relative displacement
  addressing modes. Also substitute `immediate` values if they are look like an
  address in the RAM, or other predefined location, but not ROM. Assume 24 bit
  address space.