taeber / a2asm

Simple 6502 assembler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for literals in arithmetic

taeber opened this issue · comments

XPOS	EQU 1
YPOS	EQU 0
	LDA SHIPS+XPOS,X
	RTS
SHIPS	DFB 00,00

Should assemble to BD 04 80 60 00 00, but fails with error:

expected hex, binary, or decimal literal; got XPOS