Skip to content

JeevanSandhu/MIPS-Lexical-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIPS-Lexical-Analyzer

Lexical Analyzer for MIPS Assemble Language

Open your Terminal and run these commands.

Write the LEX code in this file

$ vi mips.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

Lexical Analyzer for MIPS Assembly Language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages