gnupic: gpasm 18F addresses


Previous by date: 13 Jun 2007 14:26:24 +0100 Re: [gnupic] gputils regression tests, Ralph Corderoy
Next by date: 13 Jun 2007 14:26:24 +0100 linux dev tools question...., Jay Dagenais
Previous in thread:
Next in thread:

Subject: gpasm 18F addresses
From: "David Barnett" ####@####.####
Date: 13 Jun 2007 14:26:24 +0100
Message-Id: <000d01c7adbd$c9ae3550$0301a8c0@barnett2>

For any PIC 18F users,

gpasm purposefully divides several addresses and sizes in half only for the 18F series.  I'm aware that 18F instructions take 2 ROM words each, but I don't know of anything else strange with the RAM or ROM addresses.  Two bug reports were filed a long time ago: one for the optional fixed address of idata sections, but not udata, being halved (#1638506); the other for the parameter to the RES directive (the size) being halved.

Both look very intentional in the code, and I can't find any information about whether the current behavior is correct or not.  Can anyone point me to some explanation?

David Barnett

Previous by date: 13 Jun 2007 14:26:24 +0100 Re: [gnupic] gputils regression tests, Ralph Corderoy
Next by date: 13 Jun 2007 14:26:24 +0100 linux dev tools question...., Jay Dagenais
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.