whether labels or security bytes overwritted

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

whether labels or security bytes overwritted

Jump to solution
3,157 Views
hotdog
Contributor I
I am using codewarrior development studio for HC(S)08 special editon(V3.1). as i know, some labels are defined at $FFF6,$FFF8,$FFFC , but the security bytes are purposed to be stored at locations $FFF6–$FFFD. i wonder whether the security bytes could be overwritted when the labels and security bytes are used.

Message Edited by hotdog on 03-04-200607:13 AM

Labels (1)
Tags (1)
0 Kudos
1 Solution
558 Views
peg
Senior Contributor IV
Hi Hotdog,
These addresses are in the Vector table the security code is whatever the vectors need to be. If you are not using some of the vectors you can put something else in there. It is better to use a dummy ISR (or several) and point to it to scramble up your security code. This way if the interrupt is somehow triggered your code won't "blow up"
 
Regards Peg

View solution in original post

0 Kudos
2 Replies
558 Views
hotdog
Contributor I

Thanks for your help, Peg.
 
Best Regards.Hotdog
0 Kudos
559 Views
peg
Senior Contributor IV
Hi Hotdog,
These addresses are in the Vector table the security code is whatever the vectors need to be. If you are not using some of the vectors you can put something else in there. It is better to use a dummy ISR (or several) and point to it to scramble up your security code. This way if the interrupt is somehow triggered your code won't "blow up"
 
Regards Peg
0 Kudos