start at some basic passes

This commit is contained in:
Michael McLoughlin
2018-12-02 12:28:33 -08:00
parent 0ceb1c55a4
commit 43575d8b61
14 changed files with 7209 additions and 3904 deletions

View File

@@ -6,6 +6,10 @@ import (
"github.com/mmcloughlin/avo/reg"
)
type Op interface {
Asm() string
}
type Mem struct {
Disp int
Base reg.Register