From: SourceForge.net <no...@so...> - 2007-04-17 06:15:05
|
Bugs item #1699455, was opened at 2007-04-12 20:33 Message generated for change (Settings changed) made by maartenbrock You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1699455&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: msc51(8051) target >Group: fixed >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Frieder Ferlemann (frief) >Assigned to: Maarten Brock (maartenbrock) Summary: bit returning function passes result in dpl Initial Comment: -----8<------------------------------ unsigned char head; unsigned char tail; bit byte_available (void) { return head ^ tail; } ----->8------------------------------ compiles to: -----8<------------------------------ _byte_available: mov a,_tail xrl a,_head mov dpl,a ret ----->8------------------------------ (SDCC #4741) ---------------------------------------------------------------------- >Comment By: Maarten Brock (maartenbrock) Date: 2007-04-17 08:15 Message: Logged In: YES user_id=888171 Originator: NO Fixed in SDCC 2.6.5 #4751. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1699455&group_id=599 |