use super::super::prelude::*;

impl Add<Reg64, Reg64> for Asm<'_> {
    fn add(&mut self, op1: Reg64, op2: Reg64) {
        self.encode_rr(0x01, op1, op2);
    }
}

impl Add<Reg32, Reg32> for Asm<'_> {
    fn add(&mut self, op1: Reg32, op2: Reg32) {
        self.encode_rr(0x01, op1, op2);
    }
}
