whether labels or security bytes overwritted

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

whether labels or security bytes overwritted

跳至解决方案
3,940 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,341 次查看
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 项奖励
回复
2 回复数
1,341 次查看
hotdog
Contributor I

Thanks for your help, Peg.
 
Best Regards.Hotdog
0 项奖励
回复
1,342 次查看
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 项奖励
回复