diff options
author | iximeow <me@iximeow.net> | 2021-07-04 12:20:13 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-04 12:36:03 -0700 |
commit | 48559b18574b44e2de879a5c641ab602ec22f0d8 (patch) | |
tree | 0195cd249c1ce2429b12a14d063447fe96e3283e /src/protected_mode/display.rs | |
parent | 404cb6e81988ed84a75c89d67bf324409e22a390 (diff) |
fix several incorrect tests and docs in 64- and 32-bit modes
Diffstat (limited to 'src/protected_mode/display.rs')
-rw-r--r-- | src/protected_mode/display.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/protected_mode/display.rs b/src/protected_mode/display.rs index baca1a2..c5892c2 100644 --- a/src/protected_mode/display.rs +++ b/src/protected_mode/display.rs @@ -1328,7 +1328,7 @@ const MNEMONICS: &[&'static str] = &[ "loopnz", "loopz", "loop", - "jrcxz", + "jecxz", "pusha", "popa", "bound", @@ -1337,8 +1337,8 @@ const MNEMONICS: &[&'static str] = &[ "aaa", "das", "daa", - "amx", - "adx", + "aam", + "aad", "movdir64b", "movdiri", "aesdec128kl", @@ -2332,8 +2332,8 @@ impl <T: fmt::Write, Y: YaxColors> Colorize<T, Y> for Opcode { Opcode::AAS | Opcode::DAS | Opcode::DAA | - Opcode::ADX | - Opcode::AMX | + Opcode::AAD | + Opcode::AAM | Opcode::KADDB | Opcode::KANDB | Opcode::KANDNB | @@ -2403,7 +2403,7 @@ impl <T: fmt::Write, Y: YaxColors> Colorize<T, Y> for Opcode { Opcode::LOOPNZ | Opcode::LOOPZ | Opcode::LOOP | - Opcode::JRCXZ | + Opcode::JECXZ | Opcode::CALL | Opcode::CALLF | Opcode::JMP | |