public void PLP()
    {
 	if (( m6502.p & F_I )!=0)
        {											
		m6502.p=PULL();												
		if ((m6502.irq_state != CLEAR_LINE) && (m6502.p & F_I)==0) {	
			if(m6502log!=null) fprintf(m6502log, "M6502#%d PLP sets after_cli\n",cpu_getactivecpu()); 
			m6502.after_cli = 1;								
		}														
	} else {													
		m6502.p=PULL();												
	}															
	m6502.p = (m6502.p | F_T) &0xFF;//P |= F_T       
    }