public int ROL(int tmp)
    {
        tmp = (tmp << 1) | (m6502.p & F_C);
        m6502.p = ((m6502.p & ~F_C) | ((tmp >> 8) & F_C))&0xFF;
        tmp = tmp &0xFF;
        SET_NZ(tmp);
        return tmp;
    }