aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emu.c b/emu.c
index 44dc49d..f7543e1 100644
--- a/emu.c
+++ b/emu.c
@@ -64,14 +64,14 @@ intr(unsigned short *a)
void
iag(unsigned short *a)
{
- /* TODO */
+ *a = reg[IA];
cycle += 1;
}
void
ias(unsigned short *a)
{
- /* TODO */
+ reg[IA] = *a;
cycle += 1;
}