[stella] DASM negative number issues

Darrell Spice, Jr. darrell.spice.jr at spiceware.org
Sat Jul 12 21:32:38 CDT 2008


I seem to recall the problem is it's treating it like a 16 bit number  
and you can get around it by forcing it to use the low byte as in:

      lda #<-1



On Jul 12, 2008, at 9:28 PM, Ben Larson wrote:

> nevermind.  I guess I'll just start using the new version and  
> (grudgingly :) ) do 256 minus negative-number-I-actually-want in the  
> future.
>
> i still don't understand why the newer version can't handle negative  
> signed byte values though...
>
> --- On Thu, 7/10/08, Ben Larson <benjamin_e_larson at yahoo.com> wrote:
>
>> From: Ben Larson <benjamin_e_larson at yahoo.com>
>> Subject: [stella] DASM negative number issues
>> To: stella at atari2600.org
>> Date: Thursday, July 10, 2008, 12:19 AM
>> Maybe I'm just missing something...but why is it that
>> when I use DASM 2.12 (old) I get no errors about using
>> negative numbers w/ loads and compares, but when I use DASM
>> 2.20 (new) I do??  This is driving me crazy because I'm
>> trying to build DASM under linux and I'm not sure I can
>> find a buildable v2.12 with a makefile...and yet I'm
>> also getting really annoyed at this error message with the
>> new version.  Someone help me out here. :)
>>
>> Ben
>>
>>
>>
>>
>> _______________________________________________
>> Stella mailing list
>> Stella at atari2600.org
>> http://atari2600.org/mailman/listinfo/stella
>
>
>
>
> _______________________________________________
> Stella mailing list
> Stella at atari2600.org
> http://atari2600.org/mailman/listinfo/stella

Darrell Spice, Jr.
darrell.spice.jr at spiceware.org






More information about the Stella mailing list