gnupic: gpasm 18F addresses
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