diff options
| author | taitep <taitep@taitep.se> | 2025-12-22 21:15:24 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-22 21:15:24 +0100 |
| commit | be1b1b9fe6db7d72609596f220a287e5a944196b (patch) | |
| tree | 9ddbb6282e4fe5f997dbaf46c6883208b165e066 /src/instructions.rs | |
| parent | 5cbaf2dc66f6d2c48a6b319506e921d6aa6aef9d (diff) | |
Implement LH
Diffstat (limited to 'src/instructions.rs')
| -rw-r--r-- | src/instructions.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instructions.rs b/src/instructions.rs index 271edd4..c184065 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -44,6 +44,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option<Instr // LOAD 0b000 => Some(rvi::lb(core, instr)), 0b100 => Some(rvi::lbu(core, instr)), + 0b001 => Some(rvi::lh(core, instr)), 0b011 => Some(rvi::ld(core, instr)), _ => None, }, |
