Hello

The interrupts should be at  0x000008h (high prio) or 0x000018h (low
prio). Usually there is something like
S_p18os_ivec_0x2_low_isr code    0X000018
ivec_0x2_low_isr:
        GOTO    _low_isr

in the asm code generated by sdcc. If this isn't the case than your isr
function definition is mistaken by sdcc. Try just

void low_isr(void) interrupt 0x02

without the static keyword and see what sdcc produces (just the asm file).

Regards,

Jan



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to