Exemple #1
0
 private static bool dsr(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(new RegisterOperand(Registers.dsr));
     return(true);
 }
Exemple #2
0
 public override SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr)
 {
     return(dasm.Decode(uInstr, opcode, format));
 }
Exemple #3
0
 public override SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr)
 {
     return(oprecs[(uInstr >> shift) & 0xF].Decode(dasm, uInstr));
 }
Exemple #4
0
 public abstract SuperHInstruction Decode(SuperHDisassembler dasm, ushort uInstr);
Exemple #5
0
 private static bool Gb(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(MemoryOperand.GbrIndexedIndirect(PrimitiveType.Byte));
     return(true);
 }
Exemple #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);
 }
Exemple #7
0
 private static bool I(uint uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(ImmediateOperand.Byte((byte)uInstr));
     return(true);
 }
Exemple #8
0
 private static bool xmtrx(ushort uInstr, SuperHDisassembler dasm)
 {
     dasm.state.ops.Add(new RegisterOperand(Registers.xmtrx));
     return(true);
 }