Commit graph

17 commits

Author SHA1 Message Date
51150269cc
Add or operator 2022-12-22 19:20:59 +01:00
3614712f6f
* add &&
* allow int in cond/loop
2022-12-22 19:15:42 +01:00
a8dfaa4fec
add rem 2022-12-22 16:57:24 +01:00
abf30e8bda
add abs value 2022-12-22 16:51:15 +01:00
122c244abc
remove J instr 2022-12-22 16:44:00 +01:00
fa95a3f071
add some comparisons instructions, and fix older one 2022-12-22 16:07:56 +01:00
14b5950cd4
add == , != , > 2022-12-14 00:01:28 +01:00
32b3476451
cleaning 2022-12-13 20:46:25 +01:00
8129b36898
* add < to baselib
* loop support
2022-12-13 17:10:14 +01:00
828a780f9c
WIP Function implementation
* Add basic support of function
* move debug function to test file
* add a test who need to pass to end the implementation
2022-12-10 01:55:15 +01:00
f657f8d9d7
* add beq and bne
* use optional arg for indentation while formating instructions
2022-12-09 22:00:59 +01:00
5ddc80ada2
add substraction and division 2022-12-09 16:39:44 +01:00
a923bdb6b9
fix fmt_instr 2022-12-09 14:13:19 +01:00
af7799ea2c
* add neg
* change fmt_instr
2022-12-08 19:54:17 +01:00
9c18e1f86f
complete the mips integration 2022-12-08 14:26:55 +01:00
47adc5c8ed
use ocamlformat 2022-12-06 22:22:48 +01:00
1acd0af734
add project startup 2022-12-06 20:39:15 +01:00