On Dienstag 20 Oktober 2009, Ullrich von Bassewitz wrote: > On Tue, Oct 20, 2009 at 08:10:18PM +0200, Groepaz wrote: > > the actual snippet was this: > > > > bcc L021A > > clc > > L021A: > > > > ...which is kinda pointless :) > > Can you give me a source code sample for which this code was generated? ; ; xEnd = x + len + 1; ; clc ldy #$05 adc (sp),y bcc L021A clc L021A: adc #$01 ldy #$00 sta (sp),y somehow looks as if the optimizer got confused over wether it should replace adc/clc/adc by adc/bcc/inc :) (i havent checked wether that single line alone produces the same code... if it doesnt, oh well, i'll try to come up with some complete small snippet) -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Maturity is the time of life when, if you had the time, you'd have the time of your life. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Oct 21 04:27:05 2009
This archive was generated by hypermail 2.1.8 : 2009-10-21 04:27:08 CEST