fix(interpreter): typo selected wrong byte
This commit is contained in:
@@ -59,6 +59,6 @@ impl Memory {
|
||||
.ok_or(InterpreterError::MemoryOutOfBound(addr))?
|
||||
.to_owned();
|
||||
log::debug!("Read raw byte {b1:#04x} and {b2:#04x}, starting at addr {addr:#04x}");
|
||||
Ok(Word::from_be_bytes([b2, b1]))
|
||||
Ok(Word::from_le_bytes([b1, b2]))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user