views:

77

answers:

3

Do somebody know some CPU simulator featuring simple assembly language with assembler, loader, linker for learning and testing purpose. That I could run on GNU systems.

+2  A: 

Try SPIM.

swegi
Cool, learn something new everyday from SO.
GregS
I recommend [MARS](http://courses.missouristate.edu/KenVollmar/MARS/) over SPIM for MIPS simulator. It's helpful for MIPS. It also runs on JVM!
Kizaru
A: 

I have a thumb (arm 16 bit instruction set). gcc and llvm tools are readily available for C, if you dont need that complication binutils is all you need, easy to cross compile. codesourcery lite is a gcc based fully functional C++/C toolchain with gnu assembler and linker.

http://github.com/dwelch67/thumbulator/wiki/thumbulator

gcb comes with armulator, less visibility into what is going on.

dwelch