Files
avo/examples/add/asm.go

14 lines
192 B
Go
Raw Normal View History

2018-11-30 20:43:31 -08:00
package main
import (
. "github.com/mmcloughlin/avo/build"
"github.com/mmcloughlin/avo/reg"
)
func main() {
TEXT("add", "func(x, y uint64) uint64")
2018-11-30 20:43:31 -08:00
ADDQ(reg.R8, reg.R11)
RET()
EOF()
}