I learning MIPS assembly and I want to assemble a MIPS assembly using as or gas command
Looking at the manual page I tried to assemble using
as -mips32 myfile.asm
But it said it is an unrecognized option
I also tried to use
as -march=r3000 myfile.asm
but that also didn't work it said
Assembler messages: Fatal error: invalid -march= option: `r3000'
So, how do you assemble MIPS assembly using the gnu assembler