public void RTI() 
    {
            m6502.p=PULL();													
            m6502.pc.SetL(PULL());													
            m6502.pc.SetH(PULL());												
            m6502.p |= F_T;													
            if( (m6502.irq_state != CLEAR_LINE) && (m6502.p & F_I)==0 ) 		
            {															
                    if(m6502log!=null) fprintf(m6502log, "M6502#%d RTI sets after_clin",cpu_getactivecpu()); 
                    m6502.after_cli = 1;									
            }															
            change_pc16(m6502.pc.D);
     }