From: SourceForge.net <no...@so...> - 2003-04-29 18:19:05
|
Bugs item #729764, was opened at 2003-04-29 18:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=729764&group_id=599 Category: pic target Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Hawkridge (firefly79) Assigned to: Nobody/Anonymous (nobody) Summary: Symbol not previously defined (fbitfieldXX) Initial Comment: Attempting to write to an SFR causes SDCC to produce code that will not assemble with gpasm. A symbol fbitfieldXX (where XX is the hex address of the register containing the bit) is used without being declared. The following code: #define __16F877 #include "p16f877.h" void main() { CREN = 1; } produces the output: Processor: p16f877 No registers saved on this pass No registers saved on this pass test.asm:246:Error [113] Symbol not previously defined (fbitfield18). test.asm:317:Error [116] Value of symbol "_CREN" differs on second pass pass 1=0, pass 2=196 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=729764&group_id=599 |