diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-09 16:10:58 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-09 16:10:58 +0100 |
commit | 8d87eacbcb26e7abc429d7824e90c617f172045e (patch) | |
tree | 07cffa442f5170503a7148347b969c76435415c0 /cpu/ROM_count_seconds.rom | |
parent | 35e0c0f16f58a7503045de5e047e029dd06983a2 (diff) | |
download | SystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.tar.gz SystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.zip |
Make things great !
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) |