From 0a4004c44c3170c9b4a94bd6a53c7a4600299a8f Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 29 Jan 2023 12:24:41 -0800 Subject: fixup: handle mnemonic ordering too --- src/long_mode/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.1