Improved documentation

This commit is contained in:
2025-02-20 23:54:13 +01:00
parent 36d0142573
commit 8b932fb332
3 changed files with 55 additions and 8 deletions

View File

@ -15,12 +15,13 @@ func Finalize(a asm.Assembler, dlls dll.List) ([]byte, []byte) {
}
c := compiler{
code: make([]byte, 0, len(a.Instructions)*8),
codeLabels: make(map[string]Address, 32),
codeStart: codeOffset(),
data: data,
dataLabels: dataLabels,
dlls: dlls,
code: make([]byte, 0, len(a.Instructions)*8),
codeLabels: make(map[string]Address, 32),
codePointers: make([]*pointer, 0, len(a.Instructions)*8),
codeStart: codeOffset(),
data: data,
dataLabels: dataLabels,
dlls: dlls,
}
for _, x := range a.Instructions {