In message <32A25DCC.1E3F@bytecraft.com> PICLIST@MITVMA.MIT.EDU writes: > > > > > >The article is in Scott Edward's April 1996 "Stamp Applications" of Nuts & > > >Volts. > > > > > >In it, Scott shows the section of code: > > > > > > again: > > > b1 = b1 + 1 ; increment b1 > > > toggle 0 ; toggle pin 0 > > > goto again > > > [much snipping] > One of our other compilers surprised me with the following code sequence > equivalent. > > > movlw 0x01 ; Setup Pin to Toggle > again > xorwf PORTB ; toggle pin 0 > goto again > > The missing increment was caused by a default non-volitile variable that was > never > again referenced in the program. Its value did not matter. > Walter, If it wasn't the MPC compiler, which one was it? Regards, Mike Watson