private static UInt32 GetSource1(UInt32 instructionData) { var query = new InstructionUtility.MaskedInstructionQuery() { InstructionData = instructionData, BitLength = 4, ShiftPosition = 20 }; return InstructionUtility.GetValueFromInstruction(query); }
private static UInt32 GetBaseRegister(UInt32 instructionData) { var query = new InstructionUtility.MaskedInstructionQuery() { InstructionData = instructionData, ShiftPosition = 20, BitLength = 4 }; return InstructionUtility.GetValueFromInstruction(query); }
private static UInt32 GetAddress(UInt32 instructionData) { var query = new InstructionUtility.MaskedInstructionQuery() { InstructionData = instructionData, ShiftPosition = 0, BitLength = 16 }; return InstructionUtility.GetValueFromInstruction(query); }
internal void SetupAddress(UInt32 instructionData) { var query = new InstructionUtility.MaskedInstructionQuery() { InstructionData = instructionData, ShiftPosition = 0, BitLength = 24 }; Address = InstructionUtility.GetValueFromInstruction(query); }