bossmonkey wrote: > If I write to PORTB as a whole, will I cause an INT interrupt? > > My guess: No, INT samples the pin, not the latch. The write will > write to the latch only, and pins set as input (RB0, aka INT) will > not be affected. Mick: Your guess is correct; writing to the port will not generate an INT interrupt. > Aren't the interrupt flags set even when GIE is cleared? Will an > interrupt occur when GIE is then set? > > My guess: I can't reason this one out from the databook. I think > that when GIE is set that any interrupts with their enable and > flag bits will cause an interrupt to occur > > Right? Right again. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499