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

PRX() private method

private PRX ( ushort operand ) : void
operand ushort
return void
        private void PRX(ushort operand)
        {
            int operation_index = (operand & 0xff00) >> 8;
            switch (operation_index) {
                case 0: // RTS
                    RTS(operand, false);
                    break;
                case 1: // RTS.F
                    RTS(operand, true);
                    break;
                case 2: // RTI
                    RTI(operand);
                    break;
                case 3: // SWI
                    SWI();
                    break;
                case 4: // SLP
                    SLP(operand);
                    break;
                default:
                    Interrupt_UndefFault(operand);
                    break;
            }
        }