예제 #1
0
 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();
 }
예제 #2
0
        public static void RETLW(Data.Command com)
        {
            byte k = com.GetLowByte();

            Data.SetRegisterW(k);
            Data.SetPC(Data.PopStack());
            Data.SetPCLfromPC();
            SkipCycle();
        }
예제 #3
0
 public static void RETURN(Data.Command com)
 {
     Data.SetPC(Data.PopStack());
     Data.SetPCLfromPC();
     SkipCycle();
 }