diff options
author | iximeow <me@iximeow.net> | 2023-01-29 12:19:59 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-04 19:01:38 -0700 |
commit | 618763238fc4ac5dd0ed1552238595252cc3124b (patch) | |
tree | 78038b83f2a6289f6cde20093057d2b91afea9f6 /src/long_mode | |
parent | f9d3ce1f2f447b55a003ec273642de63d7aa988f (diff) |
make base opcode map translation a bit simpler
now the bits line up with enum variants directly (hopefully..)
Diffstat (limited to 'src/long_mode')
-rw-r--r-- | src/long_mode/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 1d7148c..052313a 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -1073,7 +1073,6 @@ const XSAVE: [Opcode; 10] = [ #[non_exhaustive] #[repr(u32)] pub enum Opcode { - Invalid, ADD, OR, ADC, @@ -1082,6 +1081,7 @@ pub enum Opcode { XOR, SUB, CMP, + Invalid, XADD, BT, BTS, |