Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 479 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 479 Bytes

scc

A C programming language compiler for the SIC/XE computer.

Assembler and simulator are available at sic-tools.

Compiling

$ javac -cp src src/scc/Main.java
$ java -cp src scc.Main --phase=PHASE --dump=DUMP FILE.c

or

$ ./compile.sh PHASE FILE.c

Running

$ ./run.sh PHASE/FILENAME

Options

PHASE/DUMP = lexan|synan|ast|seman|frames|imcode|lincode|asmcode|tmpan|regalloc|build