From e9e12427430a48022182043ed95ccf289a19029e Mon Sep 17 00:00:00 2001 From: Erin Date: Tue, 19 Dec 2023 12:36:54 +0100 Subject: [PATCH] Fixed another typo --- hbvm/src/vmrun.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hbvm/src/vmrun.rs b/hbvm/src/vmrun.rs index 8062612c..2edc880f 100644 --- a/hbvm/src/vmrun.rs +++ b/hbvm/src/vmrun.rs @@ -132,10 +132,10 @@ where ADDI16 => self.binary_op_imm(u16::wrapping_add), ADDI32 => self.binary_op_imm(u32::wrapping_add), ADDI64 => self.binary_op_imm(u64::wrapping_add), - MULI8 => self.binary_op_imm(u8::wrapping_sub), - MULI16 => self.binary_op_imm(u16::wrapping_sub), - MULI32 => self.binary_op_imm(u32::wrapping_sub), - MULI64 => self.binary_op_imm(u64::wrapping_sub), + MULI8 => self.binary_op_imm(u8::wrapping_mul), + MULI16 => self.binary_op_imm(u16::wrapping_mul), + MULI32 => self.binary_op_imm(u32::wrapping_mul), + MULI64 => self.binary_op_imm(u64::wrapping_mul), ANDI => self.binary_op_imm::(ops::BitAnd::bitand), ORI => self.binary_op_imm::(ops::BitOr::bitor), XORI => self.binary_op_imm::(ops::BitXor::bitxor),