diff --git a/internal/inst/types.go b/internal/inst/types.go index 20b6f2f..f3ae69f 100644 --- a/internal/inst/types.go +++ b/internal/inst/types.go @@ -9,7 +9,7 @@ type Instruction struct { type Form struct { ISA []string Operands []Operand - ImplicitOperands []Operand + ImplicitOperands []ImplicitOperand } type Operand struct { diff --git a/internal/load/load.go b/internal/load/load.go index 0bba60d..e1dd0cd 100644 --- a/internal/load/load.go +++ b/internal/load/load.go @@ -291,8 +291,9 @@ func (l Loader) form(opcode string, f opcodesxml.Form) inst.Form { } return inst.Form{ - Operands: ops, - ISA: isas, + ISA: isas, + Operands: ops, + ImplicitOperands: implicits, } }