[stella] I'm looking through 6 digit code

Subject: [stella] I'm looking through 6 digit code
From: Aaron Bergstrom <aaron.bergstrom@xxxxxxxxxxxxxx>
Date: Sun, 18 May 2003 23:55:16 -0500
I'm looking through Robin Harbron's 6-digit routine and I've come across some code I don't understand.

asl

        adc #<zero
        sta ptr0,y
        lda #0
        adc #>zero
        sta ptr0+1,y

What do the arguments "#<zero" and "#>zero" actually mean? The two books, I have don't say anything about it, and the dig's search engine won't let me do a search on the greater than symbol. I guess it seems to assemble... does this just tell the assembler to use any number greater or less than zero?

Thanks,

Aaron

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread