Added asmc package
This commit is contained in:
parent
5bbc730ed4
commit
05f6a015dc
14 changed files with 464 additions and 386 deletions
15
src/asmc/compiler.go
Normal file
15
src/asmc/compiler.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue