ft(interpreter): impl all low-hanging fruit instructions

This commit is contained in:
2025-06-11 23:29:34 +09:00
parent 4cea76bd1c
commit 5942270f63
4 changed files with 105 additions and 4 deletions

View File

@@ -66,8 +66,8 @@ impl Memory {
}
}
/// Calculate the absolute Memory Index from a [`MemoryIndex`] struct.
fn calc_memidx(
/// Calculate the absolute memory address from a [`MemoryIndex`] struct.
pub fn calc_memidx(
regs: &crate::interpreter::register::Register,
idx: MemoryIndex,
) -> ImmediateOperand {