aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/pop.rs
blob: c8cc5b52e85c34e7628c54b0f5a68aef5b37caf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::Pop;
use crate::{Asm, Reg16, Reg64};

impl Pop<Reg64> for Asm {
    fn pop(&mut self, op1: Reg64) {
        self.encode_r(0x8f, 0x0, op1);
    }
}

impl Pop<Reg16> for Asm {
    fn pop(&mut self, op1: Reg16) {
        self.encode_r(0x8f, 0x0, op1);
    }
}