Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayank31398/mips-simulator
https://github.com/mayank31398/mips-simulator
computer-architecture mips simulator
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mayank31398/mips-simulator
- Owner: mayank31398
- Created: 2018-12-13T20:23:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-13T20:24:40.000Z (about 6 years ago)
- Last Synced: 2024-11-30T19:33:55.203Z (2 months ago)
- Topics: computer-architecture, mips, simulator
- Language: C
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MIPS simulator
### This repository contains an instruction level-simulator for a subset of the MIPS instruction set.
#### The memory is considered to be byte-addressable. Little-endian architecture has been implemented.Note: The makefile is created for Windows. Create your own makefile for running on Linux.
Some examples of MIPS code are also provided in the inputs folder. (.x files are .s codes converted to hexadecimal)###### The instructions implemented are:
1. J
2. JAL
3. BEQ
4. BNE
5. BLEZ
6. BGTZ
7. ADDI
8. ADDIU
9. SLTI
10. SLTIU
11. ANDI
12. ORI
13. XORI
14. LUI
15. LB
16. LH
17. LW
18. LBU
19. LHU
20. SB
21. SH
22. SW
23. BLTZ
24. BGEZ
25. BLTZAL
26. BGEZAL
27. SLL
28. SRL
29. SRA
30. SLLV
31. SRLV
32. SRAV
33. JR
34. JALR
35. ADD
36. ADDU
37. SUB
38. SUBU
39. AND
40. OR
41. XOR
42. NOR
43. SLT
44. SLTU
45. MULT
46. MFHI
47. MFLO
48. MTHI
49. MTLO
50. MULTU
51. DIV
52. DIVU
53. SYSCALL