diff options
author | iximeow <me@iximeow.net> | 2019-06-25 00:06:52 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 733ce9890e1d12f546be6faceca16ff9591f8ac8 (patch) | |
tree | 3e89656b8e4303c7a0a93c2410cbb1a0b16d3773 | |
parent | 06b9d518496b90e83ad8b9857973442b978ed3e6 (diff) |
add a bunch of decode errors as test cases
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1987,7 +1987,7 @@ fn read_E_anybank<T: Iterator<Item=u8>>(bytes_iter: &mut T, prefixes: &Prefixes, let disp = if modbits == 0b01 { read_num(bytes_iter, 1, length) as i8 as i32 } else { - read_num(bytes_iter, 4, length) as i8 as i32 + read_num(bytes_iter, 4, length) as i32 }; *result = Operand::RegDisp(reg, disp); } |