Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 725 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 725 Bytes

masm mit

Assembler for subset of 32 bit MIPS assembly.

Original version used for class

Usage

To install comiler goto "http://dlang.org/download.html" and download the dmg for mac.

To compile, just run "make all"

To get help: ./masm -h

To assemble file: ./masm -s [start_address] [filename]

To disassemble file: ./masm -d [filename]

Errata:

  • reading file from terminal using standard input does not terminate
  • refuses to open redirrected file, i.e. "./masm <(cat file.asm)"

Todo:

  • use enum to store opcode and funct & convert to string