Discussion:
Updated Assembler
(too old to reply)
Stephen Tu
2008-08-04 00:48:59 UTC
Permalink
The assembler at ~cs61c-eo/public/assembler has been updated :) It now features
full label support, as well as the negative numbers and hex support it already
had. I've also posted the source in ~cs61c-eo/public/src/ in case you are
interested.
Willem
cs61c-***@pulsar [1] ~ > cd ~cs61c-eo/public/src
/home/cc/cs61c/su08/class/cs61c-eo/public/src: Permission denied.

noooo let me in!!! :)
Stephen Tu
2008-08-04 01:02:55 UTC
Permalink
The assembler at ~cs61c-eo/public/assembler has been updated :) It now
features
full label support, as well as the negative numbers and hex support it
already
had. I've also posted the source in ~cs61c-eo/public/src/ in case you are
interested.
Willem
Oh, and labels must go on their own line. This kept the code simple(r).
Willem
cs61c-***@pulsar [6] ~/proj3 > ~cs61c-eo/public/assembler rtype-tests.s
Project 3 Assembler v1.0
Created by Willem van Vliet
Error: Line 4: lui $r0,0xFF
Failed to assemble.

what am i doing wrong? i tried 0xff and 0xFF

Loading...