Hello.
My PBP ISR works great in PBP...but unfortunately, I have to conver it to asm. The code interrupts on a change on Portb. There are no other interrupts enabled. After the ISR, the code has to go to a new location and NOT RESUME to where it was.

By using the compiler manual or DT_INTS code (thanks DT), I think I might be able to piece together some of the asm code, but I don't know how to "retfie" to a different location. At the end of the ISR, the code needs to go to the "top" (RESUME top_label). How do I do that in ASM? Any suggestions are greatly appreciated!

disable
inthand:
tempb4=portb
intcon.0=0 ;reset RBIF
;@@@@@@@@@@@@@@@
;do some things
;like wait for portc=0
;@@@@@@@@@@@@@@@
tempb4=portb
intcon.0=0 ;reset RBIF
resume top_label ; go to new location - do not "return" to old place in code
enable


Sheryl