Be carefull with the spacing of ASM statements.
In particular ... (quoted from Post #6)Should be ...Code:ASM INT_LIST macro ' use the format IntSource, Label, Type, ResetFlag? INT_Handler TMR1_INT, ReloadTMR1, ASM, no INT_Handler TMR1_INT, _MATHhandler, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM
Code:ASM INT_LIST macro ; use the format IntSource, Label, Type, ResetFlag? INT_Handler TMR1_INT, ReloadTMR1, ASM, no INT_Handler TMR1_INT, _MATHhandler, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM




Bookmarks