We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code looks reasonable.
define Screen $200
LDY #$21 LDA #1 STA Screen,Y ; this works
LDA #<Screen STA $2 LDA #>Screen STA $3 LDA #4 STA ($2),Y ; this does not work
but the #> and #< both always appear to generate #0 constants
If you define the label as a memory address it does work, but this really should be equivalent.
*= $200 Screen:
this was the standard behavior of the EQU directive in most assemblers
The text was updated successfully, but these errors were encountered:
Yes, it does look like checkImmediate is wrong.
easy6502/simulator/assembler.js
Line 2177 in df2b895
Sorry, something went wrong.
No branches or pull requests
This code looks reasonable.
define Screen $200
LDY #$21
LDA #1
STA Screen,Y ; this works
LDA #<Screen
STA $2
LDA #>Screen
STA $3
LDA #4
STA ($2),Y ; this does not work
but the #> and #< both always appear to generate #0 constants
If you define the label as a memory address it does work, but this really should be equivalent.
*= $200
Screen:
this was the standard behavior of the EQU directive in most assemblers
The text was updated successfully, but these errors were encountered: