Usually, trying to avoid that message, you can initialize all the registers, even the ports you don't use as outputs. Otherwise, simply ignore that message. BTW, remember to assure that the message refers to that input registers, because the trouble comes when you forget to reinitialize data use by routines successive times. ---------- De: Bob Blick[SMTP:bblick@TELIS.ORG] Enviado: s‡bado 4 de enero de 1997 2:57 Para: Multiple recipients of list PICLIST Asunto: Re: MPSIM message >>What does the message "Caution - file register read before written" that > >It means that you are using the contents of a register that may contain >random data because it was never initialized. Good programming practice >is to initialize the RAM area, generally to 0. OK, seems reasonable. I get it when reading the ports, and of course since they are being used as inputs, I'm not going to write to them, but MPSIM doesn't seem to distinguish between a port and a file register. -Bob ---------------------------- Thanks for all - Mil gracias ---------------------------- Eduardo Jorge Mart’nez VŽlez a Asesoria & & s Sistematizacion INET: ejmv@satlink.com 73070.3653@compuserve.com CServe: 73070,3653 2000-Rosario-SF-Argentina TelFax: (54)(41)254561 Tel: (54)(41)8804 ----------------------------