diff options
author | iximeow <me@iximeow.net> | 2023-01-29 12:24:41 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-04 19:01:38 -0700 |
commit | 0a4004c44c3170c9b4a94bd6a53c7a4600299a8f (patch) | |
tree | efab2598d0f6d9f164abab73fd9d23db907dbbfe | |
parent | 9e17c1aa966e3f114513aceb4cf7069016cf0a04 (diff) |
fixup: handle mnemonic ordering too
-rw-r--r-- | src/long_mode/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 4b799f2..bb5f682 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -352,7 +352,6 @@ impl fmt::Display for Opcode { } const MNEMONICS: &[&'static str] = &[ - "invalid", "add", "or", "adc", @@ -361,6 +360,7 @@ const MNEMONICS: &[&'static str] = &[ "xor", "sub", "cmp", + "invalid", "xadd", "bt", "bts", |