Files
avo/internal/opcodesextra/instructions.go

19 lines
450 B
Go
Raw Normal View History

// Package opcodesextra provides curated extensions to the instruction database.
package opcodesextra
import "github.com/mmcloughlin/avo/internal/inst"
// sets of extra instructions.
var sets = [][]*inst.Instruction{
movlqzx,
}
// Instructions returns a list of extras to add to the instructions database.
func Instructions() []*inst.Instruction {
var is []*inst.Instruction
for _, set := range sets {
is = append(is, set...)
}
return is
}