1 2 3 4 5 6 7 8 9 10 11 12 13 14
use super::Dec; use crate::{Asm, Reg32, Reg64}; impl Dec<Reg64> for Asm { fn dec(&mut self, op1: Reg64) { self.encode_r(0xff, 1, op1); } } impl Dec<Reg32> for Asm { fn dec(&mut self, op1: Reg32) { self.encode_r(0xff, 1, op1); } }