- Notifications
You must be signed in to change notification settings - Fork27
Jiantastic/c-to-mips-compiler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Compiles C code into MIPS Assembly. Source code is in the wjw13 folder
Takes in C code onstdin
, spits out MIPS Assembly onstdout
Developed with good oldFlex andBison
Have a look atVisualMips if you would like to try out a web-based MIPS assembler!
cd c-to-mips-compiler/wjw13/ && make
builds the project
cd bin && cat test1.c | ./c_compiler
for an example usage
You should now see some generated MIPS assembly code
.text .align 2 .globl main .ent main .type main,@function
'Dragon Book'
About
C to MIPS Assembly Compiler
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published