C------------------------------------------------ SUBROUTINE FAFEDE3(head,silofa) C------------------------------------------------ IMPLICIT NONE C C Normal variables definition C INTEGER ERROR C INTEGER i, j, ival C INTEGER*4 head C INTEGER ic, k, ke INTEGER*4 status INTEGER inf, sup INTEGER XO, YO, XE, YE integer silofa INTEGER*2 length, length2 integer*4 st3 INTEGER*2 st1,st4 INTEGER st2 REAL CAL_PED(4,11,96), CAL_GOOD(4,11,96), CAL_THR(4,11,6) REAL CAL_RMS(4,11,96), CAL_BASE(4,11,6), CAL_VAR(4,11,6) DATA XO/177/ ! CODE_DSP_R XO = 101 10001 DATA YO/173/ ! CODE_DSP_R YO = 101 01101 DATA XE/170/ ! CODE_DSP_R XE = 101 01010 DATA YE/182/ ! CODE_DSP_R YE = 101 10110 C C Begin ! C ERROR = 0 ival = 0 C C C Check consistency of status word. C st1 = IAND(head,'0000FFFF'x) c write (*,10) st1 c print *,'in decimale: ',st1 status = ISHFT(head,-16) st2 = IAND(status,'0000FF00'x) c write (*,20) st2 c print *,'in decimale: ',st2 IF (ST1.EQ.-1282.AND.ST2.EQ.56832) SILOFA = 1 c 10 FORMAT(2X,'Status word 1:',2X,Z8) 20 FORMAT(2X,'Status word 2:',2X,Z4) 100 continue C RETURN END