Add a todo
This commit is contained in:
@@ -29,6 +29,7 @@ fn addi(core: &mut Core, instr: Instruction) -> InstructionResult {
|
|||||||
InstructionResult::Normal
|
InstructionResult::Normal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Support misaligned memory access
|
||||||
fn sd(core: &mut Core, instr: Instruction) -> InstructionResult {
|
fn sd(core: &mut Core, instr: Instruction) -> InstructionResult {
|
||||||
let addr = core.reg_read(instr.rs1()).wrapping_add(instr.imm_s());
|
let addr = core.reg_read(instr.rs1()).wrapping_add(instr.imm_s());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user