Commit graph

15 commits

Author SHA1 Message Date
Lumi Kalt
385278d8e9 Fix some assembling bugs 2024-01-23 15:46:56 +00:00
Lumi Kalt
78165b9b4e Get rid of useless helper functions, show mem addr of ops in the output 2024-01-23 01:19:24 +00:00
Lumi Kalt
650390a676 Fix bug on the U-Type, fix bug in the terminal output 2024-01-23 00:59:04 +00:00
Lumi Kalt
1338f93898 Handle Pseudo-Instructions, ensure labels are properly setup before assembling 2024-01-22 22:17:20 +00:00
Lumi Kalt
08c79d3ab7 Debug instructions that aren't implemented yet 2024-01-22 11:22:08 +00:00
Lumi Kalt
e90f615e70 Fix improper handling of Loc on newline 2024-01-22 11:20:31 +00:00
Lumi Kalt
2122535f56 Cleanup useless errors, add help messages for Runtime Errors, tag registers with which register they should be filling 2024-01-22 10:45:23 +00:00
Lumi Kalt
f0b5be8c63 Full encoding supported, add tests, start encoding the parsed code 2024-01-22 00:12:59 +00:00
Lumi Kalt
4509218b49 Encode imm, needs further testing 2024-01-21 18:55:10 +00:00
Lumi Kalt
ef87cbefc2 Encode imm, needs further testing 2024-01-21 18:44:59 +00:00
Lumi Kalt
746d33b0b9 Start being able to encode instructions 2024-01-21 16:31:36 +00:00
Lumi Kalt
5939a1c89b Report misuse of registers before opcodes and enforce proper register naming 2024-01-21 14:52:58 +00:00
Lumi Kalt
9a931b4b8f Squashed bugs, added some error reports 2024-01-21 12:36:38 +00:00
Lumi Kalt
fad3e6d361 Parser mostly done for now 2024-01-21 01:21:37 +00:00
Lumi Kalt
eb23e06fec liftoff 2024-01-20 13:04:58 +00:00