juicebox_asm/insn/
pop.rs

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);
    }
}