Make Operands an array

This commit is contained in:
Ian Gulliver
2021-11-20 09:46:51 -10:00
parent 579ddab2de
commit b4a27cafd3
4 changed files with 67 additions and 72 deletions

View File

@@ -3,8 +3,7 @@ package vm
type Instruction struct {
OpCode OpCodeType
Reserved [4]byte
Operand1 Operand
Operand2 Operand
Operands [2]*Operand
opHandler opHandler `struc:"skip"`
}