summary refs log tree commit diff
path: root/instructions/SEI.ts
diff options
context:
space:
mode:
Diffstat (limited to 'instructions/SEI.ts')
-rw-r--r--instructions/SEI.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/instructions/SEI.ts b/instructions/SEI.ts
new file mode 100644
index 0000000..9854874
--- /dev/null
+++ b/instructions/SEI.ts
@@ -0,0 +1,6 @@
+import type The65c02 from "../65c02.ts";
+
+export default function (this: The65c02) {
+    this.IRQBDisable = true;
+    this.programCounter.increment();
+}
\ No newline at end of file