fixed decoding of M[FT]{HI|LO}
Stefan Schuermans

Stefan Schuermans commited on 2012-03-13 21:11:43
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -116,8 +116,8 @@ BEGIN
116 116
                     WHEN "001000" => o_op <= op_j;
117 117
                     WHEN "001001" => o_op <= op_j; o_link <= link_link;
118 118
                     WHEN "010000" => o_op <= op_mfhi;
119
-                    WHEN "010001" => o_op <= op_mtlo;
120
-                    WHEN "010010" => o_op <= op_mfhi;
119
+                    WHEN "010001" => o_op <= op_mthi;
120
+                    WHEN "010010" => o_op <= op_mflo;
121 121
                     WHEN "010011" => o_op <= op_mtlo;
122 122
                     WHEN "011000" => o_op <= op_mult;
123 123
                     WHEN "011001" => o_op <= op_multu;
124 124