summaryrefslogtreecommitdiff
path: root/src/instructions
AgeCommit message (Collapse)Author
2025-12-30Implement MULtaitep
2025-12-28Remove consts.rs and just use plain typestaitep
2025-12-27Add exception values (what will go in mtval/stval)taitep
2025-12-27Relicense to BSD 2-Clause to align better with the RISC-V communitytaitep
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-23Add license headers to files missing themtaitep
2025-12-23Implement SRLItaitep
2025-12-23Implement SHtaitep
2025-12-23Remove some debug messages i forgottaitep
2025-12-23Implement BLTtaitep
2025-12-22Implement LWtaitep
2025-12-22Implement BLTUtaitep
2025-12-22Implement LHtaitep
2025-12-22Implement BGEUtaitep
2025-12-22Pull out memory access instructions from rvi.rs to their own filetaitep
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-22WHY WAS I USING S-TYPE IMMEDIATE IN LD (also add some more debugging info on ↵taitep
an exception)
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-21Make a dedicated function for advancing the PC by one instructiontaitep
2025-12-21Implement LB and LBUtaitep
2025-12-21Implement SBtaitep
2025-12-21Fix sd address calculationtaitep
2025-12-21Remove a debug print from SLLItaitep
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-21Add support for addiw and luitaitep
2025-10-14Add a todotaitep
2025-10-14Move funct3 values to rvi.rs instead of being in opcodes.rstaitep
2025-10-10some debugging stuff and SECOND OPCODE!taitep
2025-10-07FIRST INSTRUCTION WORKINGtaitep