The GNU Modula-2 version of the "cradle", described in "Lets build a compiler" by Jack
Crenshaw.

The original version uses Pascal as programming language and generated 68000 assembly.

I changed the language to Modula-2, and the generated assembly is AMD64.

The assembly generated can be assembled, linked and executed.

Commands to compile and assemble :

gm2 -fiso -o cradle7 cradle7.mod

nasm -f elf64 -g -F dwarf cradleasm7.asm -o cradleasm7.o

ld cradleasm7.o -o cradleasm7

Eric Streit 706d220972 cradleasm files deleted as they can be generated 10 kuukautta sitten
Assembly f930626230 first part of the work 10 kuukautta sitten
Tests f930626230 first part of the work 10 kuukautta sitten
.gitignore 5078f6271d *.o files excluded 10 kuukautta sitten
cradle f930626230 first part of the work 10 kuukautta sitten
cradle.mod f930626230 first part of the work 10 kuukautta sitten
cradle0 f930626230 first part of the work 10 kuukautta sitten
cradle0.mod f930626230 first part of the work 10 kuukautta sitten
cradle1 f930626230 first part of the work 10 kuukautta sitten
cradle1.mod f930626230 first part of the work 10 kuukautta sitten
cradle2 f930626230 first part of the work 10 kuukautta sitten
cradle2.mod f930626230 first part of the work 10 kuukautta sitten
cradle3 f930626230 first part of the work 10 kuukautta sitten
cradle3.mod f930626230 first part of the work 10 kuukautta sitten
cradle4 f930626230 first part of the work 10 kuukautta sitten
cradle4.mod f930626230 first part of the work 10 kuukautta sitten
cradle5 f930626230 first part of the work 10 kuukautta sitten
cradle5.mod f930626230 first part of the work 10 kuukautta sitten
cradle6 f930626230 first part of the work 10 kuukautta sitten
cradle6.mod 3bdb4407c5 some corrections 10 kuukautta sitten
cradle7 f930626230 first part of the work 10 kuukautta sitten
cradle7.mod 3bdb4407c5 some corrections 10 kuukautta sitten
git_commands.txt 3bdb4407c5 some corrections 10 kuukautta sitten