public static void RETFIE(Data.Command com) { Data.SetPC(Data.PopStack()); Data.SetPCLfromPC(); Data.SetRegisterBit(Data.Registers.INTCON, Data.Flags.Intcon.GIE, true); //Re-enable Global-Interrupt-Bit SkipCycle(); }
public static void RETLW(Data.Command com) { byte k = com.GetLowByte(); Data.SetRegisterW(k); Data.SetPC(Data.PopStack()); Data.SetPCLfromPC(); SkipCycle(); }
public static void RETURN(Data.Command com) { Data.SetPC(Data.PopStack()); Data.SetPCLfromPC(); SkipCycle(); }