2020-12-31 22:05:14 +00:00
|
|
|
# rrcc (Red Rock Canyon Compiler)
|
2020-12-31 21:24:38 +00:00
|
|
|
|
|
|
|
Toolchain for assembly and compilation of new code for FM10000 Instruction Processor Boot State Machine
|
|
|
|
|
|
|
|
NOTE: **This is a Work In Progress project**
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
* cmake >= 3.13
|
|
|
|
* g++ (GCC C++) or clang
|
|
|
|
* make
|
|
|
|
|
|
|
|
### Compilation
|
|
|
|
* `$ mkdir build && cd build`
|
|
|
|
* `$ cmake ../ && make`
|
|
|
|
* An executable named `./rrc-as` should now exist.
|
|
|
|
|
|
|
|
## rrc-as
|
|
|
|
|
|
|
|
Assembler, kind-of 2-Pass. Quite loose token syntax defined in [Token.h](src/Token.h)
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
* `$ ./rrc-as code.asm output.bin`
|