first pass at a "builder" interface

This commit is contained in:
Michael McLoughlin
2018-11-30 20:43:31 -08:00
parent b65b6c02b8
commit 9b9f5b7e0c
11 changed files with 10069 additions and 84 deletions

13
examples/add/asm.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
. "github.com/mmcloughlin/avo/build"
"github.com/mmcloughlin/avo/reg"
)
func main() {
TEXT("add")
ADDQ(reg.R8, reg.R11)
RET()
EOF()
}