aboutsummaryrefslogtreecommitdiff
path: root/parse.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-09 00:36:27 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-09 00:36:27 +0100
commit15eda60829ae0b4b084fe93bf419bf014a82a21c (patch)
tree57d0aee77a051de00d0220c5160ac6094d615b0a /parse.go
parent9b4b8bd1910787b4380404ac7315ae65763dcac7 (diff)
extract read/write mem
Diffstat (limited to 'parse.go')
-rw-r--r--parse.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.go b/parse.go
index 2ab0801..1dc4d08 100644
--- a/parse.go
+++ b/parse.go
@@ -22,6 +22,7 @@ func Decode(v uint16) Instruction {
// Instruction interface
type Instruction interface {
Value() uint16
+ Compile() uint16
}
// Lit is a literal