This commit is contained in:
Michael McLoughlin
2018-11-20 11:44:44 -06:00
parent 33ef56f40e
commit 7c2990754f
7 changed files with 2519 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ type Register interface {
Kind() Kind
Mask() uint16
Bytes() uint
Name() string
Asm() string
private
}
@@ -77,7 +77,7 @@ type register struct {
func (r register) PhysicalID() uint16 { return r.id }
func (r register) Kind() Kind { return r.kind }
func (r register) Name() string { return r.name }
func (r register) Asm() string { return r.name }
func (r register) private() {}
type Spec uint16