Re: 65816 long addressing in assembler

From: Vanessa Ezekowitz (vanessaezekowitz_at_gmail.com)
Date: 2008-10-14 06:26:36

On Monday 13 October 2008 7:04:43 pm Craig Taylor wrote:
> Use ## for 32 bit, # for 16 bit - I'm not sure there is any "standard" but
> ## and # makes more sense to me than \.

Doing this in assembly wouldn't make any sense, as # means "immediate" mode pretty much everywhere in the 6502/65816 world.

Now, I can't say whether a backslash is the ideal character...  Looking at the docs for Sirius (Steve Judd's 65816 assembler), <  ! and > are what he uses to force 8, 16, and 24-bit operands, respectively, when used with absolute addressing.

-- 
"Life is full of positive and negative events.  Spend
your time considering the former, not the latter."
Vanessa Ezekowitz <vanessaezekowitz@gmail.com>

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.