Make sure you corect the USB_ACTV_INT line in above code by placing a comma after the USB_ACTV_INT element of the statement. In other words:ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler USB_ACTV_INT _ACTVIFhandler, ASM, NO ; first in the list
INT_Handler USB_Handler
INT_Handler INT2_INT, _Range, PBP, yes
INT_Handler HLVD_INT, _LowVolt, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
endasm
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler USB_ACTV_INT, _ACTVIFhandler, ASM, NO ; first in the list
INT_Handler USB_Handler
INT_Handler INT2_INT, _Range, PBP, yes
INT_Handler HLVD_INT, _LowVolt, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
endasm
Bookmarks