I'm trying to figure out how to trigger a routine when a especific pin changes from digital low to high.
I can eventually create a jump to a short check on that pin and then return to...
I disagree. If the compiler adds a CLRWDT in between every single instruction then there's no point in having it in the first place.
It's not going to detect a "fast loop" you make in your code.
PBP does handle it in, dare I say, >99% of cases. Here's one, fairly unrealstic case, where it doesn't.
I don't think PBP analyses the code in the details and determine exactly where to insert...
I'd certainly buy a scope over/before any logic analyzer but IMHO once you have verified signal integrety with the scope, moving to a logic analyzer with a nice and quick UI like LOGIC is WAY more...
Re: IOC on 18F2580?
why not use one of the interrupt pins int0 int1 int2
richard Yesterday, 23:54alternatively
portb pins 4 to 7 have interrupt on change capability
read data sheet interrupt section and i/o port sections ...