Dave, > What's the chip?? sorry, I should've said. MEga16 > What's your vector table look like? fairly straight forward ;- .ORG RESET RJMP INIT .ORG INT0addr RJMP READPORTS .ORG INT1addr RJMP SYNC > I've seen some systems that only partially fill the vector table, but I > really get squeamish at that. > I prefer a full table, with at least RETI's on the unused ints, and ideally > a little code to turn them off in case they get accidentally turned on.. Hmmm, worth a go. > Put that in your template for a given processor, and then just populate the > ones you want. If you get pushed for space, then sacrifice the turnoffs > for RETI's again. Thanks, I'll take a look Paul
Message
Re: [AVR-Chat] Stack
2004-12-23 by Paul Maddox
Attachments
- No local attachments were found for this message.