Personally, so far, I just use some asm code in my own crt0.s for the interrupts, e.g. for the NMI:
push af push bc push de push hl ;push ix ; saved by callee push iy call _cv_vint pop iy ;pop ix pop hl pop de pop bc pop af retn where void cv_vint(void); is just an ordinary C function like any other. Philipp ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user