summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-03-29 12:37:36 -0700
committerJulian Blake Kongslie2021-03-29 12:37:36 -0700
commitc381756a2aed37b4b93c5b853d5dd0ec44a4118c (patch)
tree8874e3dd7b108a2a4fc7ef82e51889da65e190ae
parentConvert to using $sampled instead of $past, for more uniformity. (diff)
downloadnoncpu-c381756a2aed37b4b93c5b853d5dd0ec44a4118c.tar.xz
Trivial cleanup of initial memory image.
-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