From 8d87eacbcb26e7abc429d7824e90c617f172045e Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 9 Jan 2014 16:10:58 +0100 Subject: Make things great ! --- cpu/ROM_count_seconds.rom | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cpu/ROM_count_seconds.rom (limited to 'cpu/ROM_count_seconds.rom') 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) -- cgit v1.2.3