Skip to content

Commit

Permalink
o1vm/riscv32i: some more instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Nov 4, 2024
1 parent 046a89a commit 51f1a5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions o1vm/src/interpreters/riscv32i/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ pub enum Instruction {
// tail offset -
// auipc x1, offset[31 : 12] + offset[11]
Tail,

AddImmediate, // addi
StoreWord, // sw
LoadWord, // lw
Multiply, // mul
Move, // mv
}

0 comments on commit 51f1a5f

Please sign in to comment.