Fixed RET timing. Reviewed flags management. Introduced Sf (Lf).