From 3d489ff42261e4d7c23b1877b95c0581c7691369 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Hofst=C3=A4tter?= Date: Sat, 11 Dec 2010 15:31:34 +0100 Subject: [PATCH] bugfix ld --- cpu/src/alu_b.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => -- 2.25.1