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:
Wei Liu 2021-02-22 23:54:12 +00:00 committed by Samuel Ortiz
parent d78b2ec8b5
commit 49214cf02b

View File

@ -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,