From 1847bba4d356264268116d7d0b313b86e0af7c5b Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 3 Jan 2014 22:43:07 +0100 Subject: CPU all implemented except missing ALU operations. --- cpu/prog_rom0.rom | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cpu/prog_rom0.rom') 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) -- cgit v1.2.3