demdecuong / Project-ECE341

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project ECE341

Our task is simulate polish notation in mips.

Given an input file, we should generate a Prefix.txt/Postfix.txt for storing the decode expression

and Result.txt for storing calculated result.

Eg:Given a input.txt with format below

#---------------------INPUT----------------------#

Prefix

(2+3)*5

4*12/3+1

5*(2+3)

#--------------------OUTPUT----------------------#

Prefix.txt

* + 2 3 5

* 4 + / 12 3 1 * 5 + 2 3

Result.txt

25

17

25

Our member:

1.Nguyen Phuc Minh

2.Le Thanh Binh

About


Languages

Language:Assembly 100.0%