summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 98c53c1..7225fe7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2122,6 +2122,7 @@ fn Operand_RegDerefDisp20Abs<T: Iterator<Item=u8>>(code: u8, inst: &mut Instruct
};
match imm_size {
+ 0 => {}
1 => {
inst.dispabs = bytes.next().ok_or(DecodeError::ExhaustedInput)? as u16;
inst.length += 1;