bugfix ld
authorMarkus Hofstätter <markus.hofstaetter@gmx.net>
Sat, 11 Dec 2010 14:31:34 +0000 (15:31 +0100)
committerMarkus Hofstätter <markus.hofstaetter@gmx.net>
Sat, 11 Dec 2010 14:31:34 +0000 (15:31 +0100)
cpu/src/alu_b.vhd

index 60d33530cd242e702820d210d48013b33f2efcb9..c0bfbb2b58e36f1dd47d09d10be4eda5ca809ea9 100755 (executable)
@@ -127,13 +127,13 @@ begin
         when LDST_OP =>\r
                 res_prod := '0';\r
                 mem_op := '1';\r
+                               right_o <= displacement;\r
                 if op_detail(IMM_OPT) = '1' then\r
                         result_v.result := right_operand;\r
                         res_prod := '1';\r
                         mem_op := '0';\r
                 end if;\r
                 if op_detail(ST_OPT) = '1' then\r
-                        right_o <= displacement;\r
                         mem_en := '1';\r
                 end if;\r
        when JMP_OP =>\r