PDA

View Full Version : Using LC-3 on a Mac?




pusman83
Feb 2, 2008, 07:35 PM
I've found an LC-3 simulator for Mac (it's Java-based), but how do I write for it? I have XCode and have used it for C.

I guess I would need to be able to output all standard files associated with LC-3 (binary, .obj, etc.).

Link: http://www.cis.upenn.edu/~milom/cse240-Fall05/handouts/lc3guide.html



djourd
Jan 13, 2010, 10:55 PM
I use vim to write all the code.

pikester
Jan 14, 2010, 03:23 PM
You'll need a cross compiler for it. If you poke around here:
http://highered.mcgraw-hill.com/sites/0072467509/student_view0/c_to_lc-3_compiler.html
you should be able to download a couple of files that will help you out.