summaryrefslogtreecommitdiff
path: root/src/vm/instruction.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/instruction.js')
-rw-r--r--src/vm/instruction.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vm/instruction.js b/src/vm/instruction.js
index c235b9a..dcf9a51 100644
--- a/src/vm/instruction.js
+++ b/src/vm/instruction.js
@@ -162,3 +162,11 @@ exports.DJN = function(core, pc, ins) {
return [core.normalize(pc, 1)];
}
}
+
+
+exports.SPL = function(core, pc, ins) {
+ return [
+ core.normalize(pc, 1),
+ core.getLocation(pc, ins.a),
+ ];
+}