Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/19/02 01:33
Read: times


 
#34702 - RE: Possible sdcc bug -- J.
Yes, all of the single lines having second statements that are always executed look a bit funky to me too, but I had taken Jez to be pointing us specifically to the interesting bit where the code generated for 'area-=(yy+1)' is not correct independent of what any subsequent statements do or don't do:

mov a,#0x01
add a,_yy
mov r7,a ; <-- Missing
clr c
mov a,_area
subb a,a ; <-- Wrong! Should be subb a,r7
mov area,a


List of 8 messages in thread
TopicAuthorDate
Possible sdcc bug            01/01/70 00:00      
RE: Possible sdcc bug            01/01/70 00:00      
RE: Possible sdcc bug            01/01/70 00:00      
RE: Possible sdcc bug            01/01/70 00:00      
RE: Possible sdcc bug            01/01/70 00:00      
RE: Possible sdcc bug -- J.            01/01/70 00:00      
RE: Possible sdcc bug -- J.            01/01/70 00:00      
RE: Possible sdcc bug            01/01/70 00:00      

Back to Subject List