diff options
author | iximeow <me@iximeow.net> | 2023-07-09 15:08:04 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-09 15:08:04 -0700 |
commit | bb473f11adc57dd9dfd0ff74062cbfd3b1b10f3e (patch) | |
tree | 14fea34c2442ea1709561e7ec8c8965f84890443 | |
parent | acb0deaf94f61f7744c1e724c93817e6e034e228 (diff) |
that doesnt need to be a transmute
-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 fa7d1b7..def3d55 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -7018,7 +7018,7 @@ fn read_operands< } if !operand_code.has_read_E() { - instruction.operands = unsafe { core::mem::transmute(0x00_00_00_01) }; + instruction.operands = [OperandSpec::RegRRR, OperandSpec::Nothing, OperandSpec::Nothing, OperandSpec::Nothing]; } instruction.operand_count = 2; |