Re: [cc65] question about assignment statement

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2006-01-18 09:43:31
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


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 Jan 18 09:43:41 2006

This archive was generated by hypermail 2.1.8 : 2006-01-18 09:43:44 CET