Ejemplo n.º 1
0
 internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
 {
     if (dasm.arch.PointerType.Size == 8)
     {
         return(dasm.DecodeOperands(wInstr, opcode, InstrClass.Linear, format));
     }
     else
     {
         return(dasm.DecodeOperands(wInstr, Opcode.illegal, InstrClass.Invalid, ""));
     }
 }
Ejemplo n.º 2
0
 internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
 {
     if (dasm.arch.PointerType.Size == 8)
     {
         return(dasm.DecodeOperands(opcode, wInstr, format));
     }
     else
     {
         return(dasm.DecodeOperands(Opcode.illegal, wInstr, ""));
     }
 }
Ejemplo n.º 3
0
 internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
 {
     return(dasm.DecodeOperands(opcode, wInstr, format));
 }
Ejemplo n.º 4
0
        internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
        {
            var opcode = ((wInstr & (1u << 16)) != 0) ? opTrue : opFalse;

            return(dasm.DecodeOperands(opcode, wInstr, "c18,j"));
        }
Ejemplo n.º 5
0
        internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
        {
            var opcode = opcodes[(wInstr >> 16) & 0x1F];

            return(dasm.DecodeOperands(opcode, wInstr, "R1,j"));
        }
Ejemplo n.º 6
0
        internal override MipsInstruction Decode(uint wInstr, MipsDisassembler dasm)
        {
            var opcode = ((wInstr & (1u << 16)) != 0) ? opTrue : opFalse;

            return(dasm.DecodeOperands(wInstr, opcode, InstrClass.ConditionalTransfer | InstrClass.Delay, "c18,j"));
        }