Skip to content

What assembler do you intend to target for 8086 code? #117

@cr1901

Description

@cr1901

I finally got around to compiling Cowgol. For starters, I was able to get 8086 codegen working from Linux using the following:

bin/cowfe-16bit.nncgen.exe -Irt/ -Irt/msdos/ examples/mandel.cow mandel.cob
bin/cowbe-8086.nncgen.exe mandel.cob mandel.coo
bin/cowlink-msdos.nncgen.exe .obj/rt/msdos/cowgol.coo mandel.coo -o mandel.s

This gets me some shiny 8086 assembler, just how I like it :). However, this isn't quite enough to actually generate a working binary. Commit 18fc49f hints that you still need an assembler. Which assembler do you intend to target? I tried nasm and got the following error:

william@xubuntu-dtrain:~/Projects/toolchains/cowgol$ nasm mandel.s
mandel.s:17: error: parser: instruction expected

I'm guessing the assembler has yet to be written :)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions