theck01/MIPS_assembler
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
An assembler for a MIPS architecture machine, based on the instruction set found
in the book:
Computer Organization and Design, 4th ed.
Assembler methods and assocated constants found in the MIPS Ruby module
REQUIREMENTS:
Ruby version 1.9.3 (may work for lesser 1.9 releases, hash syntax invalid for
Ruby 1.8 releases)
TO RUN THE ASSEMBLER:
In your favorite shell (or command prompt) run:
$ ruby assembler.rb <filename>
The script will generate a list file with the same name as the original file
but instead with a .lst extension rather than any original extension