From 51f1a5f76365400e278c682823e4788649b3fbf5 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Tue, 22 Oct 2024 20:34:40 +0200 Subject: [PATCH] o1vm/riscv32i: some more instructions --- o1vm/src/interpreters/riscv32i/interpreter.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/o1vm/src/interpreters/riscv32i/interpreter.rs b/o1vm/src/interpreters/riscv32i/interpreter.rs index b087296e9c..617434aba4 100644 --- a/o1vm/src/interpreters/riscv32i/interpreter.rs +++ b/o1vm/src/interpreters/riscv32i/interpreter.rs @@ -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 }