Re: [stella] New student of Atari programming

Subject: Re: [stella] New student of Atari programming
From: Glenn Saunders <cybpunks2@xxxxxxxxxxxxx>
Date: Sun, 08 Dec 2002 03:58:06 -0800
At 11:47 PM 12/7/2002 -0800, you wrote:
 adc #<zero
 adc #>zero
what does it all mean?? - some kind of adressing mode

In this case zero is an equate for a 16-bit number. Using the < and > symbols indicate that you want to extract the low or high order byte from this number, which is necessary for all 6502 opcodes that only take 8-bit arguments.


The # character indicates immediate addressing mode, i.e. working on a hardcoded constant directly rather than a memory address.



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


Current Thread