Assembler for the 6502 processor
A assembler for the 6502 assembly language written in python. This is still a WIP so it might not work fully.
Run with command:
python3 assemble.py
Sample code is shown in the samples directory.
Define a marker like this and loop to the marker
;Comment
foo:
lda #$00
jmp foo
Comments begin in a “;”.
Be sure that all instructions are capitalized or it will error.
I will add .ORG and .BYTE in the future.