-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Create MOS Technology 6502 backend #6502
Copy link
Copy link
Open
Labels
backend-self-hostedenhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Metadata
Metadata
Assignees
Labels
backend-self-hostedenhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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!