gnupic: LKR script for PIC16F72 - how does it work ?


Previous by date: 27 Jan 2011 21:07:47 -0000 PIC18 K22 series chips, Tim Edwards
Next by date: 27 Jan 2011 21:07:47 -0000 Re: LKR script for PIC16F72 - how does it work ?, John Pritchard
Previous in thread:
Next in thread: 27 Jan 2011 21:07:47 -0000 Re: LKR script for PIC16F72 - how does it work ?, John Pritchard

Subject: LKR script for PIC16F72 - how does it work ?
From: Vaclav ####@####.####
Date: 27 Jan 2011 21:07:47 -0000
Message-Id: <253702.10668.20159-30737-1943893001-1296162463@seznam.cz>

Hello all,

I use 16F72 with the default script from gputils. During linking I am getting the message below. Then, in the MAP file I can see that there is hole in the data memory. First 32 bytes are skipped. In the LKR file regions are split into DATABANK and SHAREBANK. But, my question is, is it possible to store something into gpr0/gpr1 as well ? If I understand correctly, SHAREBANK usage is better because variables are accessible in all banks.

Thank you,
Vaclav

> gplink.exe -I"d:\v\sw\sdcc\lib\pic" -m -w -r -o main main.o pic16f72.lib
message: using default linker script "d:\opt\gputils\lkr\16f72.lkr"
warning: relocation of section "UDL_main_0" failed, relocating to a shared memory location

Previous by date: 27 Jan 2011 21:07:47 -0000 PIC18 K22 series chips, Tim Edwards
Next by date: 27 Jan 2011 21:07:47 -0000 Re: LKR script for PIC16F72 - how does it work ?, John Pritchard
Previous in thread:
Next in thread: 27 Jan 2011 21:07:47 -0000 Re: LKR script for PIC16F72 - how does it work ?, John Pritchard


Powered by ezmlm-browse 0.20.