5162 IF (KC=1 AND A(I,0)=1) OR X=XVF THEN 5170