示例#1
0
 private static bool dsr(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(new RegisterOperand(Registers.dsr));
     return(true);
 }
示例#2
0
 public override SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr)
 {
     return(dasm.Decode(uInstr, opcode, format));
 }
示例#3
0
 public override SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr)
 {
     return(oprecs[(uInstr >> shift) & 0xF].Decode(dasm, uInstr));
 }
示例#4
0
 public abstract SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr);
示例#5
0
 private static bool Gb(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(MemoryOperand.GbrIndexedIndirect(PrimitiveType.Byte));
     return(true);
 }
示例#6
0
 private static bool j(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(AddressOperand.Create(dasm.rdr.Address + (2 + 2 * (sbyte)uInstr)));
     return(true);
 }
示例#7
0
 private static bool I(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(ImmediateOperand.Byte((byte)uInstr));
     return(true);
 }
示例#8
0
 private static bool xmtrx(ushort uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(new RegisterOperand(Registers.xmtrx));
     return(true);
 }