From: Vangelis R. <vr...@ot...> - 2005-05-04 00:36:01
|
----- Original Message -----=20 From: "Daryl Van Vorst" <da...@va...> To: "SDCC User List" <sdc...@li...> Subject: [Sdcc-user] PIC16 - ERROR: LinkFlow... > ERROR: LinkFlow, couldn't find label. key=3D-1,lab=3D_isr_hp > ERROR: LinkFlow, couldn't find label. key=3D-1,lab=3D_isr_hp Don't worry about this message too, it should normally be suppressed by hardcode in the code generator, but it is left there as a reference for the developers. > This is a bit unrelated, but: Is there support for using the fast > register stack (ie: RETURN, FAST)? There are restrictions on when it = can > be used, but it can be used safely on high priority interrupts. It = would > speed things up slightly (and save a small amount of stack space) by > saving/restoring status, wreg, and bsr for us. Use the function attribute __shadowregs (or shadowregs, when not using C99 compatibility mode). An example could be: void isr_hi(void) __shadowregs interrupt 1 { /* blah blah blah */ } This will emit a RETFIE FAST instruction and will not explicit save WREG, STATUS and BSR. regards, Vangelis |