Hello, I'm redirecting my interrupts using the code -------------------------------------------- CSEG AT 0000BH LJMP myisr -------------------------------------------- I've a number of files. Where should I put this code (which file... does it matter)? Should I create a segment called 'myisrtable' and place all ISR address in it? Regards, KC
I do not think it matters - as far as the linker - where you put the vectors; however, having the vectors in one module (I do, together with the ISRs) gives the advantage of an immediate view of completeness (you do put reti in unused interrupts, I hope). Also I have always had ALL ORG statements in one module (that keeps me from making overlap or gap mistakes as opposed to having ORGs all over the place) Erik
Hello, Thanks Erik! ** there's no need to post 6 times ** Regards, KC