Subject: Re: [stella] New student of Atari programming From: Christopher Tumber <christophertumber@xxxxxxxxxx> Date: Wed, 15 Jan 2003 17:57:02 -0500 |
> decided to try to learn Atari programming, since all the resorces were there. I need a little help, and later a lot of help. Welcome! > adc #<zero > adc #>zero >what does it all mean?? - some kind of adressing mode >or assembler directive It's an assembler directive #< is the low byte of a word (usually an address) while #> is the high byte. To put in it simple context: lda #<address sta $80 lda #>address sta $81 jsr ($81) address: ;Subroutine Here >and what the diff. > adc #zero or adc zero Using # is a constant, your second example is a variable zero equ $80 lda #$10 sta $80 ldx #zero ldy zero X=#$80 Y=#$10 Chris... ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] VDELPx, Christopher Tumber | Thread | [stella] Oh No!!, Andrew Davie |
Re: [stella] Collaboration, Thomas Jentzsch | Date | [stella] Oh No!!, Andrew Davie |
Month |