[Slackers] lda followup
Steve Judd
sjudd at ffd2.com
Sun Jun 4 10:33:21 CDT 2006
Jaymz,
Looks like Sirius appies > and < correctly, i.e. as a modifier to the #
character. Thus
lda #>blah+1
is the same as
lda #>(blah+1)
Moreover,
lda #1+>blah
will generate an error. From the WDC 65816 data sheet:
7.3.3.4 The assembler shall use the <, >, and ^ characters after the #
character in immediate address to specify which byte or bytes will be
selected from the value of the operand. Any calculations in the operand
must be performed before the byte selection takes place. ...
-S
More information about the Slackers
mailing list