|
Subject: Re: [stella] TASM From: Kevin Horton <khorton@xxxxxxxxxxx> Date: Wed, 28 Nov 2001 20:43:32 -0500 |
At 02:22 PM 11/28/2001 -0500, you wrote:Tasm also uses a different format for hex constants, a trailing h rather than a leading $
LDA #$FF ; Dasm LDA FFh ; Tasm
According to what I read, it will still do the % or $ notation except in certain places that it uses those characters for other things.
lda #0eah ;hex lda #0100 0011b ;binary lda #43d ;decimal
table1: .db "this is text"
.db 000h,0001h,002h,003h
.db "null-terminated",0
.db 001h,"mixed",034h
.db labelvar1: .block 1 ;reserve 1 byte of RAM var2: .block 1 var3: .block 2 ;reserve 2 bytes for say, 16 bit pointer
reset: cld
ldx #0ffh
txs .fill 01ffah-*,0ffh ;fill up to 01ffah with 0ffh
.dw nmi
.dw reset
.dw irq
---------------------------------------------------------------------------------------------- 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] TASM, Glenn Saunders | Thread | Re: [stella] TASM, Glenn Saunders |
| Re: [stella] Poker solitaire source, B. Watson | Date | Re: [stella] TASM, Glenn Saunders |
| Month |