diff options
Diffstat (limited to 'src/insn/mov.rs')
-rw-r--r-- | src/insn/mov.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/insn/mov.rs b/src/insn/mov.rs index bf1c33e..2614d82 100644 --- a/src/insn/mov.rs +++ b/src/insn/mov.rs @@ -103,3 +103,11 @@ impl Mov<Reg8, Imm8> for Asm { self.encode_oi(0xb0, op1, op2); } } + +// -- MOV : mem imm + +impl Mov<MemOp, Imm16> for Asm { + fn mov(&mut self, op1: MemOp, op2: Imm16) { + self.encode_mi(0xc7, 0, op1, op2); + } +} |