As I have said, the LCD gets a cleared screen. IN order to test the ASM routine of instant interrupt, I have added 2 LCDOUT commands. The first before the ASM routine and the Second after the ASM ROUTINE.
Well.. Now the LCD displays only "TEST 1".. it seems that the pointer is stuck in the ASM lines... Anything to say?Code:' LCD defines on portB ' All registers set ' just like the code posted before Pause 1000 LCDOUT $FE, $80, "TEST 1" ASM ;T0IF = TMR0IF ;T0IE = TMR0IE INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler TMR2_INT, _tick, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM @ INT_ENABLE TMR2_INT ; Enable Timer 1 Interrupts LCDOUT $FE, $80, "TEST 2" 'and the rest of the code goes i here..
Thanks!





Bookmarks