From: Markus Hofstätter Date: Sat, 11 Dec 2010 14:31:34 +0000 (+0100) Subject: bugfix ld X-Git-Tag: bootrom_v1~85 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=3d489ff42261e4d7c23b1877b95c0581c7691369;p=calu.git bugfix ld --- diff --git a/cpu/src/alu_b.vhd b/cpu/src/alu_b.vhd index 60d3353..c0bfbb2 100755 --- a/cpu/src/alu_b.vhd +++ b/cpu/src/alu_b.vhd @@ -127,13 +127,13 @@ begin when LDST_OP => res_prod := '0'; mem_op := '1'; + right_o <= displacement; if op_detail(IMM_OPT) = '1' then result_v.result := right_operand; res_prod := '1'; mem_op := '0'; end if; if op_detail(ST_OPT) = '1' then - right_o <= displacement; mem_en := '1'; end if; when JMP_OP =>