MIPS simulator that consists of assembler and virtual machine.
- The assembler is responsible for (1) find if an instruction is valid or not, (2) what each instruction is and (3) the labels that accompany some instructions. that is implemented using ad-hoc parsing using Java regular expressions.
- The virtual machine simulates the structure of MIPS-32 processor and can run the machine language program produced by the assembler.
You need to know a basic knowledge about assembly language. Example:
start:
addi s0 $0 5
addi $s1 $0 0
loop:
beq $s1 $s0 end
addi $s1 $0 5
j loop
end:
addi $s1 $0 7
to run any MIPS-32 instruction you need to follow these steps follow the steps descriped in the user manual file :
- User Manual- screenshots descripe all steps and details you need.
-
Nada Nasser - Nada-Nasser
-
Farah Afifi - farah-afifi
-
Lamya Raed - lamyaraed
-
Yousef Ahmed - yousefahmed98