diff options
author | iximeow <me@iximeow.net> | 2023-12-16 16:12:25 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-12-16 16:12:25 -0800 |
commit | 58913fc4e1bb153fe9d8735164ef922f71c2fa97 (patch) | |
tree | 6106f045b08b6c48cc47ca7ac41f9997fec2ad91 /src/real_mode/mod.rs | |
parent | 83b12fc09a69cc5324f6f002b8c52382d4b236d1 (diff) |
fix hreset being disassembled as having second operand of "Nothing"
just report it having one operand...
Diffstat (limited to 'src/real_mode/mod.rs')
-rw-r--r-- | src/real_mode/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs index 6765c1e..68ab6dd 100644 --- a/src/real_mode/mod.rs +++ b/src/real_mode/mod.rs @@ -8674,6 +8674,7 @@ fn read_operands< instruction.opcode = Opcode::HRESET; instruction.imm = read_num(words, 1)?; instruction.operands[0] = OperandSpec::ImmU8; + instruction.operand_count = 1; } OperandCase::G_mm_Ed => { instruction.regs[0].bank = RegisterBank::MM; |