Hello!
I'm new here, and I was testing the Instant Interrupts, first of all, I've tried to compile the 'Hello World' code on a PIC16F628A, but I get this error message:

ERROR: Variable wsave3 position request 416 beyond RAM_END 335.

Is it a limitation for the Instant Interrupts? or please tell me where I'm wrong... Yes, I'm using MPASM.

Compiling this code for a PIC16F877A gives no problem...



Thanks!


Code:
LED1   VAR  PORTB.1

INCLUDE "DT_INTS-14.bas"     ' Base Interrupt System
INCLUDE "ReEnterPBP.bas"     ' Include if using PBP interrupts

ASM
INT_LIST  macro    ; IntSource,        Label,  Type, ResetFlag?
        INT_Handler   TMR1_INT,  _ToggleLED1,   PBP,  yes
    endm
    INT_CREATE               ; Creates the interrupt processor
ENDASM

T1CON = $31                ; Prescaler = 8, TMR1ON
@ INT_ENABLE  TMR1_INT     ; enable Timer 1 interrupts

Main:
  PAUSE 1
GOTO Main

'---[TMR1 - interrupt handler]--------------------------------------------------
ToggleLED1:
     TOGGLE LED1
@ INT_RETURN