So even though a is declared as an unsigned char, constants like 9 are actually 16-bit? Is there any way to force them to 8-bit? Also, I still get this memory error when I use the optimize switch: The instruction at 0x0042702f referenced memory at 0x00000055. The memory could not be read. Would it be alright if I email you my code so you can see if you get the same error when you compile it? Thanks, Paul Ullrich von Bassewitz wrote: >On Tue, Jan 17, 2006 at 02:36:32PM -0600, PH wrote: > > >>Why is the x register always cleared before the assignment? >> >> > >Because the constant 9 is of type integer. > > > >>Will the optimizer switch remove it? >> >> > >If the value is not needed elsewhere, probably yes. > >Regards > > > Uz > > > > ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Jan 20 20:27:54 2006
This archive was generated by hypermail 2.1.8 : 2006-01-20 20:27:57 CET