Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

A mini MIPS Simulator created for course Compiler Construction using Lex

Notifications You must be signed in to change notification settings

JeevanSandhu/MIPS-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIPS-Simulator

Mini-Simulator for MIPS Assemble Language

Open your Terminal and run these commands.

Write the LEX code in this file

$ vi mips_sim.l

Run mips.l through LEX to generate lex.yy.c

$ lex mips.l

Compile lex.yy.c to generate a.out

$ cc lex.yy.c

Input the input.asm file to a.out to generate the tokens

$ a.out < input.asm

About

A mini MIPS Simulator created for course Compiler Construction using Lex

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published