From: SourceForge.net <no...@so...> - 2008-01-22 22:34:55
|
Bugs item #1876411, was opened at 2008-01-21 12:52 Message generated for change (Settings changed) made by hg8lhs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1876411&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pic14 target Group: None >Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Robert Fuszenecker (hg8lhs) Assigned to: Nobody/Anonymous (nobody) Summary: change of banks Initial Comment: Dear Sirs, My friend, Master Krüpl Zsolt reported that there is a problem with sdcc using pic14 port (device pic16f627a). The situation is the following: If he uses a standard function call with the sequence of "PORTA=... delay()...", the assembly code seems to be wrong. See also the example code at address 0x0c. The function call (last delay()) changes the register bank settings, but after jumping back (GOTO _00115_DS_) the register bank settings are not changed back correctly. If he changes the sequence of "delay()... PORTA=...", the code seems to be perfect, there is no error with selecting banks. Thank you for your help, Best regards, Master Krüpl Zsolt & Robert Fuszenecker ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1876411&group_id=599 |