fmax incr
[calu.git] / cpu / src / alu_b.vhd
index c0bfbb2b58e36f1dd47d09d10be4eda5ca809ea9..f0eda881851fd219ba4bf32134051457331213c5 100755 (executable)
@@ -127,7 +127,8 @@ begin
         when LDST_OP =>\r
                 res_prod := '0';\r
                 mem_op := '1';\r
-                               right_o <= displacement;\r
+               --right_o <= displacement;\r
+               addr <= std_logic_vector(unsigned(left_operand)+unsigned(displacement));\r
                 if op_detail(IMM_OPT) = '1' then\r
                         result_v.result := right_operand;\r
                         res_prod := '1';\r