Skip to content

jordanlee124/MIPS-Copy-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

MIPS Copy in C

Project description

In this project, I've re-created basic operations used in MIPS, using C. Such operations are:

  • add
  • addi
  • sub
  • mul
  • and
  • andi
  • or
  • ori
  • bne
  • beq
  • slt
  • slti
  • lui
  • syscall

How to run the project

To run this project, you will have to download this repository as a zip file.

Then, unzip this file open a terminal in the file location.

You will need to have a text file (e.g. text.txt) with MIPS code that is able to be executed by this program. (A MIPS code containing the operations mentioned above)

In the terminal, run

gcc smips.c -o smips
./smips text.txt

About

A copy of the MIPS language written in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages