Ypsilon.Emulation.Processor.YCPU.JMP C# (CSharp) Method

JMP() private method

private JMP ( ushort operand ) : void
operand ushort
return void
        private void JMP(ushort operand)
        {
            ushort value;
            uint farValue;
            bool isFar;
            try {
                BitPatternJMI(operand, out value, out farValue, out isFar);
                if (isFar && !PS_S) {
                    Interrupt_UnPrivFault(operand);
                }
                else {
                    PC = value;
                }
            }
            catch (SegFaultException e) {
                Interrupt_SegFault(e.SegmentType, operand, e.Address);
            }
        }