beebasm icon indicating copy to clipboard operation
beebasm copied to clipboard

Support complex expressions in instruction parameters

Open mungre opened this issue 5 months ago • 2 comments

A line like lda (P% + 7) AND &FF00,y produces an "Incorrectly formed indirect instruction" error.

Adding brackets to fix this changes the addressing mode to "zp indirect,y", as expected.

There is no way to use the "indexed,y" addressing mode with an expression that starts with a (.

mungre avatar Sep 09 '24 15:09 mungre