And some more help please.

I'm now having difficulty in putting the asm code into a PBP program:

1. Running on a PIC18F8722.
2. Low and high priority interrupts are used BUT IN THE ASM CODE ONLY.
3. The action to be taken on interrupt is only in the ASM code.

So far I have:

1. Deleted the asm configs and done them in PBP
2. Listed the variables like:

Code:
WREG_TEMP       var byte    $20     System     ; Variable used for context saving 
STATUS_TEMP     var byte    Bank0   System     ; Variable used for context saving
BSR_TEMP        var byte    Bank0   System	; Variable used for context saving
Count_pulse     var byte    Bank0   System     ; Pulse duration = 3.n + 7
X_delay_lb      var byte    Bank0   System     ; Subtracted from $ffff to get X delay 
X_delay_hb      var byte    Bank0   System     ; ..result loaded into Timer0_High and Timer0_Low
Y_delay_lb      var byte    Bank0   System     ; Subtracted from $ffff to get Y delay
Y_delay_hb      var byte    Bank0   System     ; ..result loaded into Timer1_High and Timer1_Low
X_steps_lb      var byte    Bank0   System     ; Y steps not needed because different X/Y pulse
X_steps_hb      var byte    Bank0   System     ; ..frequencies make Nx.Dx = Ny.Dy
I have deleted (Should I have kept them?) these bits of the original ASM code:

Code:
LIST P=18F8722              ; Directive to define processor
#include <P18F8722.INC> ; Drocessor specific variable definitions
Should I use the instructions (although my interrupts occur in ASM only):

DEFINE INTLHAND Label
DEFINE INTHAND Label

I have had a good read of the PBP handbook and DT's interrupt code and examples - but am still missing something?

Regards Bill legge