import isa and implicit operands

This commit is contained in:
Michael McLoughlin
2018-11-23 17:14:18 -06:00
parent 86373c79ee
commit 4e059c258b
2 changed files with 24 additions and 6 deletions

View File

@@ -7,8 +7,9 @@ type Instruction struct {
}
type Form struct {
Operands []Operand
CPUID []string
ISA []string
Operands []Operand
ImplicitOperands []Operand
}
type Operand struct {
@@ -16,6 +17,11 @@ type Operand struct {
Action Action
}
type ImplicitOperand struct {
Register string
Action Action
}
type Action uint8
const (