diff options
Diffstat (limited to 'cpu/ROM_count_seconds.rom')
-rw-r--r-- | cpu/ROM_count_seconds.rom | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/ROM_count_seconds.rom b/cpu/ROM_count_seconds.rom new file mode 100644 index 0000000..7330dac --- /dev/null +++ b/cpu/ROM_count_seconds.rom @@ -0,0 +1,6 @@ +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 +/-6 11100010 # j -6 (ie to lw instruction) |