Пример #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);
 }