Skip to content

Create MOS Technology 6502 backend #6502

@ikskuh

Description

@ikskuh

The MOS Technology 6502 is one of the most famous processors which was used in a lot of home computers in the 80ies.
Even today it is mostly programmed in assembly. There aren't many compilers available, most prominent one is cc65, a C compiler.

Zig would be in a unique position to be a modern compiler for the 6502 processor family.

The 6502 does not have a huge instruction set, but has a lot of restrictions which makes code generation and optimization hard, but i think it's still worth a try.

Imagine programming your C64 in Zig!

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend-self-hostedenhancementSolving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions