diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-08 19:42:07 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-08 19:42:07 +0100 |
commit | b8df2847aa60728b72a9a48769c8662214ba30c8 (patch) | |
tree | 115cdfa63d12117aa4e6c1b82a3ebfdfd42a9d31 /cpu | |
parent | 9139862d65f5aa720812173decaa8c0f0abf26c6 (diff) | |
download | SystDigit-Projet-b8df2847aa60728b72a9a48769c8662214ba30c8.tar.gz SystDigit-Projet-b8df2847aa60728b72a9a48769c8662214ba30c8.zip |
Remove useless D initialization, remove LA instruction (actually, it is LI)
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/prog_test1.rom | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cpu/prog_test1.rom b/cpu/prog_test1.rom index 2604833..c6db00e 100644 --- a/cpu/prog_test1.rom +++ b/cpu/prog_test1.rom @@ -1,15 +1,14 @@ -56 8 -00000000 00100000 # add D Z Z +54 8 # init: 00000010 01011011 # liuz B 64 00000010 01000001 # lw B 0(B) -01000000 10110011 # lilz E init +00000000 10110011 # lilz E init 00000000 10101011 # liu E init 01000010 10101010 # jer E B Z 00010001 00100000 # add D D B 01111111 11101100 # incri SP -2 00000111 00110001 # sw D 0(SP) -01001100 10010011 # lilz A msgtick +00001100 10010011 # lilz A msgtick 00000000 10001011 # liu A msgtick 00010000 00010010 # jal ser_out_msg 00000111 00100001 # lw D 0(SP) @@ -20,7 +19,7 @@ 01000000 11000011 # lil C 2 # ser_out_msg_loop: 00000100 01001001 # lb B 0(A) -00001100 10110011 # lilz E ser_out_msg_ret +01110100 10110011 # lilz E ser_out_msg_ret 00000000 10101011 # liu E ser_out_msg_ret 01000010 10101010 # jer E B Z 00000110 01011001 # sb B 0(C) |