Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

An Assembler written in C++ for MIPS ISA

Notifications You must be signed in to change notification settings

astute-decipher/MIPS32_Compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIPS32_Compiler

Introduction

This is an assembler that takes a MIPS instruction (written in assembly) and turns it into machine code. The output file type is a .txt type but can be saved as a .mif using any text editor to be used with RAM.

How to Use

The format that the instruction should be written is can be found in any MIPS ISA reference page. I included a sample file called Input.txt to demonstrate the format of the instructions.

Compile and Run the program, the terminal will ask for a file name, enter your instruction file and include ".txt" extension. The terminal prints out some information but will say "file assembly completed" when it is finished and succesful. Go to the project directory and find the file called Output.txt.

PLEASE READ:

  • The assembler does not take upper case hexadecimal values.

About

An Assembler written in C++ for MIPS ISA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%