Re: [stella] TASM

Subject: Re: [stella] TASM
From: Kevin Horton <khorton@xxxxxxxxxxx>
Date: Wed, 28 Nov 2001 21:18:55 -0500
At 18:10 11/28/01 -0800, you wrote:
At 08:43 PM 11/28/2001 -0500, you wrote:
To define data bytes, you use the .db pseudo-op, or for words the .dw pseudo-op. i.e.

table1:  .db "this is text"
         .db 000h,0001h,002h,003h
         .db "null-terminated",0
         .db 001h,"mixed",034h
         .db label

But it also supports .byte and .word syntax, correct?

I don't think it does.


Does it also support < and > to reference low and high bytes?

No it doesn't. You do this instead:


           lda #address & 255
           sta low_ptr
           lda #address >> 8
           sta high_ptr

Personally, I don't like the < and > operators anyways so this works good for me :-)

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


Current Thread