Posted 30 March 2013 - 04:09 AM
Hello everyone.
I've been working on this assembler for the past few days, after doing quite a bit of coding for the DCPU-16 (low-level coding is fun). This is my first time writing any kind of assembler or compiler, so this may be kind of buggy. For more details on the DCPU-16 instruction set, visit: http://dcpu.com/dcpu-16/.
Usage:
Required parameters:
I've been working on this assembler for the past few days, after doing quite a bit of coding for the DCPU-16 (low-level coding is fun). This is my first time writing any kind of assembler or compiler, so this may be kind of buggy. For more details on the DCPU-16 instruction set, visit: http://dcpu.com/dcpu-16/.
Usage:
DCPUCompiler <input> <output> <symbols> <arguments>
Required parameters:
- <input> – The input assembly file.
- <output> – The output binary (or text) file.
- <symbols> – All symbols (i.e labels and macros) will be dumped here. If you want to disable this, pass "-" instead of a file name.
- -a / –ascii-out / –text / –text-out : Write output as a text file containing "DAT" instructions instead of as a binary file.
- -p / –print : Save all output to "assemblyLog".
- -d / –debug : Enable debugging output (i.e symbol mappings, parser output, symbol substitutions, etc.) It's recommended that you use this with -p or –print.