Kalle Pihlajasaari wrote: > I have found something that I expect should generate useable code > but seems to have a bit of a bug, any comments. I am including some > .LST file fragments that span all the side effects of the C code. > > The 0034 address is the first instruction inside the 'do' in none of > the following variations was there any test to see if the condition > had been met. > .... > ========= > 0045 0397 DECF 17 bitCount--; > } while(bitCount <> 0); > 0046 2016 CALL 0016h WaitABit(); Kalle: You've been using BASIC for too long... In C, the "not equal" sign is "!=", not "<>". -Andy Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California http://www.geocities.com/SiliconValley/2499