aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/insn.rs
blob: 2bfaf182ce3962a3f15f7a4924dff68ec070e151 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

        
        









                                      
 


                                      



                                       
mod add;
mod dec;
mod mov;
mod ret;
mod test;

pub trait Add<T, U> {
    fn add(&mut self, op1: T, op2: U);
}

pub trait Dec<T> {
    fn dec(&mut self, op1: T);
}

pub trait Mov<T, U> {
    fn mov(&mut self, op1: T, op2: U);
}

pub trait Test<T, U> {
    fn test(&mut self, op1: T, op2: U);
}