summaryrefslogtreecommitdiff
path: root/src/instructions.rs
AgeCommit message (Collapse)Author
2025-12-26Make macros for R/I-type operations and use them to implement basically ↵taitep
every single one i think
2025-12-26Make branches macros and implement all of themtaitep
2025-12-26(BIG CHANGE) memory handling has changed, MMIO is now a 2 level page table, ↵taitep
misaligned access supported, addresses not internally split to page and offset immediately, all load/store instructions implemented. Might still have bugs
2025-12-24EXCEPTION SYSTEM (initial version - may change later)taitep
2025-12-23Implement SRLItaitep
2025-12-23Implement SHtaitep
2025-12-23Implement BLTtaitep
2025-12-22Implement LWtaitep
2025-12-22Implement BLTUtaitep
2025-12-22Implement LHtaitep
2025-12-22Implement BGEUtaitep
2025-12-22Implement SWtaitep
2025-12-22Implement SUBtaitep
2025-12-22Implement ORtaitep
2025-12-22Implement AND and improve formatting and ordering in rvi.rstaitep
2025-12-22Implement ADDtaitep
2025-12-21Implement LD and BNEtaitep
2025-12-21Implement JALR, fix JAL, change how some stuff in instructions.rs is expressedtaitep
2025-12-21Implement AUIPCtaitep
2025-12-21Implement ANDI and BEQtaitep
2025-12-21Implement LB and LBUtaitep
2025-12-21Implement SBtaitep
2025-12-21Implement SLLI and fix sign extension of immediates for I-type and S-type ↵taitep
instructions
2025-12-21Add JAL and change some of the formatting on previous instructions to be cleanertaitep
2025-12-21(BIG CHANGE) Switch instruction identification/execution to use a plain ↵taitep
match tree, should improve performance by quite a bit
2025-12-01Add license/copyright notices to top of each source file (where applicable)taitep
2025-10-07FIRST INSTRUCTION WORKINGtaitep
2025-10-04I guess its a working execution loop?taitep
2025-10-03Swap out execution status for instructions returning an InstructionResulttaitep
2025-09-30Initial instruction execution code i guesstaitep