dasm-assembler / dasm

Macro assembler with support for several 8-bit microprocessors

Home Page:https://dasm-assembler.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

6502 addressing modes (indirect),Y and absolute,Y should support space between comma and Y

RobertBaruch opened this issue · comments

This will fail to compile the second and third instructions because the parser doesn't accept a space between the comma and the Y. Aesthetically, a space looks kind of nice.

    PROCESSOR 6502
    ORG 0
    LDA ($10),Y
    LDA ($10), Y    ; error (Illegal addressing mode)
    LDA $2000, Y    ; error (Unresolved symbol Y)