1
0
mirror of https://github.com/specht/champ.git synced 2024-06-01 13:41:32 +00:00

documentation

This commit is contained in:
Michael Specht 2018-02-14 23:42:13 +01:00
parent 4f4c7f9c71
commit eea0c2c1a7

View File

@ -32,9 +32,9 @@ instant_rts:
- LOAD1
```
We specified some source files (they'll get compiled automatically) and some object files along with their locations in memory. We also specified the entry point for our program, this can be a label or an address.
We specified some source files (they'll get compiled automatically) and some object files along with their locations in memory (`load`). We also specified the entry point for our program (`entry`), this can be a label or an address.
Furthermore, we can disable subroutines by replacing the first opcode with a RTS. This is necessary in some cases because Champ does not emulate hardware and thus can not load data from disk, for example.
Furthermore, we can disable subroutines by replacing the first opcode with a RTS (`instant_rts`). This is necessary in some cases because Champ does not emulate hardware and thus can not load data from disk, for example.
To start champ, type: