Added asmc package

This commit is contained in:
Eduard Urbach 2025-02-06 23:26:10 +01:00
parent 5bbc730ed4
commit 05f6a015dc
Signed by: eduard
GPG key ID: 49226B848C78F6C8
14 changed files with 464 additions and 386 deletions

15
src/asmc/compiler.go Normal file
View file

@ -0,0 +1,15 @@
package asmc
import "git.akyoto.dev/cli/q/src/dll"
type compiler struct {
code []byte
data []byte
codeLabels map[string]Address
dataLabels map[string]Address
codePointers []*pointer
dataPointers []*pointer
codeStart Address
dlls dll.List
dllPointers []*pointer
}