Important notice for interrupts

List of known bugs
Locked
Author
Message
User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Important notice for interrupts

#1 Post by zristic » 30 May 2005 14:12

Bug ID: #050530001
Submitted by: zristic

Severity: Major
Status: Resolved, to be implemented since the version 3.0.0.4.

Description:
Using interrupts on P16 for codes over 2K causes unpredictable behaviour of program.

Workaround:
Make sure this instruction is the first one in the interrupt routine:

Code: Select all

PCLATH := 0;
Compiler should clear the register itself, but the implementation was omitted by mistake.

Locked

Return to “mikroPascal Bug List”