HC9S08 .inc and .prm files in CW

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

HC9S08 .inc and .prm files in CW

4,891 次查看
jtjans
Contributor I
I am confused regarding the use of the PRM file in
cw.  The example given for the 9S08QG8 defines the memory  and interrupt vectors both in the .prm and in the MC9S08QG8.inc file.  Do you need the definitions in both places? Does it hurt anything to have them in both places? I'm not new to the 68HC08 series or to assembly programming, but I am new to CW.
 
jtjans
标签 (1)
0 项奖励
回复
2 回复数

1,120 次查看
jtjans
Contributor I
Thanks-Simple answer saves much angst. Too bad CW help and demos can't explain these simple things in simple terms.
0 项奖励
回复

1,120 次查看
rocco
Senior Contributor II
Yes, you need them in both places.

The .inc file defines the memory for the assembler, while the .prm file defines the memory for the linker.

hope that helps.
0 项奖励
回复