* src/pic/device.c (dump_sfr): replaced register declaration with
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 22 Jul 2005 16:04:56 +0000 (16:04 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 22 Jul 2005 16:04:56 +0000 (16:04 +0000)
commita10f1efe331d9feef47f4ce7a33234b86919d8e1
tree661d10bfd3595ce5bd95b51f472883104904f47d
parentcd9b65fac3729510de6f9dc246f5453dad9cd92e
* src/pic/device.c (dump_sfr): replaced register declaration with
  call to emitSymbolToFile() to avoid duplicate symbols
* (assignRelocatableRegisters): do not declare external symbols
* src/pic/ralloc.c (allocNewDirReg): fixed to get size of arrays
  right (take size of type, not etype)
* (allocDirReg): fixed call to allocNewDirReg() to pass OP_SYM_TYPE
* (writeUsedRegs): also dump dynDirectRegs (e.g. local variables)
* (packRegsForAccUse): disabled assignment of WREG as
  the result reg to prevent occurence of just fixed #1235003,
  fixes #1242954
* src/pic/glue.c (emitSymbolToFile): NEW, central place to declare
  symbols (avoids duplicate symbols in .asm file)
* (pic14emitRegularMap): use emitSymbolToFile()
* src/pic/gen.c (aopOp): fixed spillLocation handling
* (gen{Unp,P}ackBits): fixed acquiring bit-operands
* (genDataPointerSet): removed unneccessary variables/output

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3807 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/pic/device.c
src/pic/gen.c
src/pic/glue.c
src/pic/ralloc.c