HC9S08 .inc and .prm files in CW

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

HC9S08 .inc and .prm files in CW

4,305 Views
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
Labels (1)
0 Kudos
Reply
2 Replies

534 Views
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 Kudos
Reply

534 Views
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 Kudos
Reply