Seedling Assembler Intel Backend -- 3
Budget: $30 – $250 USD
I need to extend my custom assembler, Seedling, with the main basic Intel x86 backend. Seedling is label-scoped rather than section-scoped, and its symbol-table logic is already finished; what’s missing is the code that turns the language into real Intel encode instructions and emits usable object code. Right now the backend is nasm then ld to link.
Your tasks are straightforward but compiler-level:
• Implement the functions that map Seedling mnemonic to the correct Intel x86 opcode.
• Add support for emitting both flat binary and standard object (.o) output.
• Introduce a –b flag in the main entry point so the new backend can be selected at runtime without disturbing current behaviour.
There is no external documentation—only the code itself—so you’ll need to understand the existing parser, and scoping system by reading the sources or by communicating with me since I wrote it. Once complete, the assembler invoked with “-b x86” must build my test programs into a bootable binary and a linkable object file with no regressions.
If you’re comfortable writing backends or have previous assembler/compiler experience, tell me briefly how you’d handle the mapping and emission phases when you bid. PLEASE READ THE CODE FIRST BEFORE BIDDING SO YOU KNOW IF YOU CAN DO THE JOB. ASK QUESTIONS. NO LLVM.
Your tasks are straightforward but compiler-level:
• Implement the functions that map Seedling mnemonic to the correct Intel x86 opcode.
• Add support for emitting both flat binary and standard object (.o) output.
• Introduce a –b flag in the main entry point so the new backend can be selected at runtime without disturbing current behaviour.
There is no external documentation—only the code itself—so you’ll need to understand the existing parser, and scoping system by reading the sources or by communicating with me since I wrote it. Once complete, the assembler invoked with “-b x86” must build my test programs into a bootable binary and a linkable object file with no regressions.
If you’re comfortable writing backends or have previous assembler/compiler experience, tell me briefly how you’d handle the mapping and emission phases when you bid. PLEASE READ THE CODE FIRST BEFORE BIDDING SO YOU KNOW IF YOU CAN DO THE JOB. ASK QUESTIONS. NO LLVM.