summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-10-14 18:22:09 +0200
committertaitep <taitep@taitep.se>2025-10-14 18:22:09 +0200
commit19568f855eca24f52e7db3bab44676086fbd2ac1 (patch)
tree925698cf007e9dddf7c528d4a1d30babb7cf1a40 /src
parent7a519924cb15f16a683782391e70a6e34700612a (diff)
Add a todo
Diffstat (limited to 'src')
-rw-r--r--src/instructions/rvi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instructions/rvi.rs b/src/instructions/rvi.rs
index 24d45a1..f82f1b3 100644
--- a/src/instructions/rvi.rs
+++ b/src/instructions/rvi.rs
@@ -29,6 +29,7 @@ fn addi(core: &mut Core, instr: Instruction) -> InstructionResult {
InstructionResult::Normal
}
+// TODO: Support misaligned memory access
fn sd(core: &mut Core, instr: Instruction) -> InstructionResult {
let addr = core.reg_read(instr.rs1()).wrapping_add(instr.imm_s());