all my knowledge came from google" xc8 psect" , i have not found a good reference yetMay I ask where I can find information for placing DW data in XC8 at an absolute address
the xc8 use rguide/manual is severely lacking in that respect
key elements
PSECT strings,class=CODE,abs,delta=2
ORG 0x1f00
my example uses an asm segment in a c include file, it may be better to place the data in an asm file and include that instead
because i have terrible trouble getting "labels" to work properly my way. [ still learning]
mcc is a splendid thing once you get the hang of it, for the chips it supports.
once i have created the standalone project i use mcc to set the osc and create the main.c and mcc files
then you can add the pins/hw modules
Bookmarks