summary refs log tree commit diff
path: root/instructions/cmp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'instructions/cmp.ts')
-rw-r--r--instructions/cmp.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/instructions/cmp.ts b/instructions/cmp.ts
deleted file mode 100644
index 1b2db94..0000000
--- a/instructions/cmp.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { PC } from "../pc.ts";
-
-export default {
-    function(this: PC, [reg, val]: number[]) {
-        const r = this.lib.parseReg(reg)
-        this.returnFlag = +(this.registers[r] == +val)
-    },
-    args: 2
-}
\ No newline at end of file