aboutsummaryrefslogtreecommitdiff
path: root/emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu.c')
-rw-r--r--emu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/emu.c b/emu.c
index ea351c6..44dc49d 100644
--- a/emu.c
+++ b/emu.c
@@ -47,6 +47,12 @@ stop(unsigned short *a)
cycle += 1;
}
+void
+hcf(unsigned short *a)
+{
+ /* TODO */
+ cycle += 9;
+}
void
intr(unsigned short *a)
@@ -94,6 +100,7 @@ void (*extop[nExt])(unsigned short *a) = {
[NOP] = nop,
[JSR] = jsr,
[BRK] = stop,
+ [HCF] = hcf,
[INT] = intr,
[IAG] = iag,
[IAS] = ias,