1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/// Represents the different combinations of arguments for the opcodes #[allow(non_camel_case_types)] pub enum ArgumentTypes { None, // No arguments D_S_T, // rd, rs, rt D_T_S, // rd, rt, rs D_T_Shift, // rt, rd, shift T_S_SImm, // rt, rs, sign_extend_imm T_Imm, // rt, imm T_S_Imm, // rt, rs, imm T_Mem, // rt, offset(rs) D, // rd S, // rs S_D, // rs, rd S_T, // rs, rt S_T_Jump, // rs, rt, target S_Jump, // rs, target Jump, // target }