Works!!!
Quick question, why are you enabling the interrupts after the ASM-ENDASM not inside?
Why not this?Code:ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler RBC_INT, _Scan, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM @ INT_ENABLE RBC_INT ; enable external (INT) interrupts
Code:ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler RBC_INT, _Scan, PBP, yes endm INT_CREATE ; Creates the interrupt processor INT_ENABLE RBC_INT ; enable external (INT) interrupts ENDASM
Also, why the funny indentation inside ASM-ENDASM? Remember, I'm new to interrupts and don't know assmebler
Thank you Darrel,
Tom





Bookmarks