Allen, I'm using the MicroChip XC8 compiler. I don't believe it has any of=20 these issues. Do you know one way or the other? Thanks, rich! On 7/21/2014 11:53 AM, Allen Mulvey wrote: > MikroElektronika put out this bug workaround for some PIC16s: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Bug ID: #03800000 > Submitted by: Donovan Rogall > > Severity: medium (affects mikroC PRO for PIC v3.80) > Status: Fixed, changes will affect following release > > Description: > PIC16 interrupt context saving instructions do not backup higher nibble o= f > STATUS register. > > Workaround: > Instead of using default interrupt routine name: > > > Code: Select all > > void interrupt() > > use any other function name, and org the function to interrupt vector > address: > > > Code: Select all > > void interrupt_routine() org 0x04 > > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .