Re: 65816 long addressing in assembler

From: Wolfram Sang (wolfram_at_the-dreams.de)
Date: 2008-10-17 15:10:16

> Can the 65816 load 16-bit values to the accumulator as well as 8-bit 
> values? If so, when using 24-bit labels you may need five different 
> operators:

Just for completeness, AS has the following:

'>' - force 16-bit addressing
'!' - force 24-bit addressing

(I wonder if there is '<', too, never checked :D)

All the rest is handled via self-defined functions. The supplied library 
offers: lo(), hi() and such. Of course, you can easily extend it to what 
you need (as the user; no dependency on the developer of the assembler \o/).

All the best,

    Ninja


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.