Re: [cc65] range error (was: bitwise not broken in ca65?)

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-01-16 22:05:05
On Thu, Jan 12, 2012 at 09:42:25PM +0100, Björn Spruck wrote:
> just my few cents:
>
> if
> .byte 3,2,1,0,-1,-2,-3
> is not compiling I find this annoying

Ok. Which values would you then consider legal? Do you want anything truncated
to 8 bits? Or just -128..255? How about

        .byte   $FFFFFF80

where the argument has the same internal representation as -128, should that
trigger an error?

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 Mon Jan 16 22:05:18 2012

This archive was generated by hypermail 2.1.8 : 2012-01-16 22:05:22 CET