summaryrefslogtreecommitdiff
path: root/cpu/prog_rom0.rom
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/prog_rom0.rom')
-rw-r--r--cpu/prog_rom0.rom7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpu/prog_rom0.rom b/cpu/prog_rom0.rom
index 1321436..1cd848b 100644
--- a/cpu/prog_rom0.rom
+++ b/cpu/prog_rom0.rom
@@ -1,3 +1,6 @@
-4 8
+10 8
+x40 01011011 # liuz B 0x40 -> B = 0x4000 (address of ticker)
+00000010 11000001 # lw C 0(B)
+00110001 00100000 # add D D C
/1 10001100 # incri A 1
-01111111 11100010 # j -2 (ie jump to address 0)
+/-6 11100010 # j -6 (ie to lw instruction)