Hi Everyone,
Can someone help me and give some guidance, on how to convert C code to DLX assembly code? I have been trying to find some tool, whatever I find converts from C to MIPS assembly code.
Thanks.
Printable View
Hi Everyone,
Can someone help me and give some guidance, on how to convert C code to DLX assembly code? I have been trying to find some tool, whatever I find converts from C to MIPS assembly code.
Thanks.
Most compilers have an option to output assembly (under GCC, I think the command switch is "-S").
Depends on the compiler and the host environment. As noted the "-S" option will do the trick on a resident compiler if the host is a MIPS machine, else you need a cross compiler.