项目作者: leysdun041

项目描述 :
Assembler for the 6502 processor
高级语言: Python
项目地址: git://github.com/leysdun041/6502-Assembler.git
创建时间: 2021-02-19T13:11:31Z
项目社区:https://github.com/leysdun041/6502-Assembler

开源协议:

下载


6502-Assembler

A assembler for the 6502 assembly language written in python. This is still a WIP so it might not work fully.

Assembling

Run with command:
python3 assemble.py

How to program

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.

Future additions

I will add .ORG and .BYTE in the future.