#include "cpu/instr.h"
/*
Put the implementations of `test' instructions here.
*/


static void instr_execute_2op() {
    operand_read(&opr_src);
    operand_read(&opr_dest);
    
 
    alu_and(opr_src.val, opr_dest.val, data_size);
    
    
    operand_write(&opr_dest);
}



make_instr_impl_2op(test,r,rm,b)
make_instr_impl_2op(test,r,rm,v)
make_instr_impl_2op(test,i,a,v)
make_instr_impl_2op(test,i,a,b)
make_instr_impl_2op(test,i,rm,v)
make_instr_impl_2op(test,i,rm,b)