summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mem/mem.hex3
1 files changed, 1 insertions, 2 deletions
diff --git a/mem/mem.hex b/mem/mem.hex
index 7923fb7..9cd9433 100644
--- a/mem/mem.hex
+++ b/mem/mem.hex
@@ -3,12 +3,11 @@
3040 // %acc = 0x40 3040 // %acc = 0x40
4f20 // %idx = %acc 4f20 // %idx = %acc
5 5
6// loop: (addr 2) 6// loop:
7100 // %acc = [%idx] 7100 // %acc = [%idx]
8300 402 // if (%acc == 0) { %pc = exit } 8300 402 // if (%acc == 0) { %pc = exit }
9f44 // ++%idx; tx %acc 9f44 // ++%idx; tx %acc
104fb // jmp loop 104fb // jmp loop
11// exit: (addr 7)
12 11
13f80 // hcf 12f80 // hcf
14 13