mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
hypervisor: emulator: fix MOVZX
According to Intel's mnemonic (which is used by iced-x86) the first argument is destination while the second is source. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
d78b2ec8b5
commit
49214cf02b
@ -71,7 +71,7 @@ macro_rules! mov_rm_imm {
|
||||
}
|
||||
|
||||
macro_rules! movzx {
|
||||
($src_op_size:ty, $dest_op_size:ty) => {
|
||||
($dest_op_size:ty, $src_op_size:ty) => {
|
||||
fn emulate(
|
||||
&self,
|
||||
insn: &Instruction,
|
||||
|
Loading…
Reference in New Issue
Block a user