fix implicit operands

This commit is contained in:
Michael McLoughlin
2018-11-23 23:48:47 -08:00
parent 4e059c258b
commit 4571841ee5
2 changed files with 4 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ type Instruction struct {
type Form struct { type Form struct {
ISA []string ISA []string
Operands []Operand Operands []Operand
ImplicitOperands []Operand ImplicitOperands []ImplicitOperand
} }
type Operand struct { type Operand struct {

View File

@@ -291,8 +291,9 @@ func (l Loader) form(opcode string, f opcodesxml.Form) inst.Form {
} }
return inst.Form{ return inst.Form{
Operands: ops, ISA: isas,
ISA: isas, Operands: ops,
ImplicitOperands: implicits,
} }
} }