diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-03 22:43:07 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-03 22:43:07 +0100 |
commit | 1847bba4d356264268116d7d0b313b86e0af7c5b (patch) | |
tree | 78ed2fb08ce6f3534ca00afefb6fdc0588a5c97c /cpu/prog_rom0.rom | |
parent | 1b32dfecc4fd1c9d9d024bb053c43ea17021cc65 (diff) | |
download | SystDigit-Projet-1847bba4d356264268116d7d0b313b86e0af7c5b.tar.gz SystDigit-Projet-1847bba4d356264268116d7d0b313b86e0af7c5b.zip |
CPU all implemented except missing ALU operations.
Diffstat (limited to 'cpu/prog_rom0.rom')
-rw-r--r-- | cpu/prog_rom0.rom | 7 |
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) |