From d0991696d4d2629843742052cded81ea17fdb8c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Hofst=C3=A4tter?= Date: Mon, 29 Nov 2010 14:49:15 +0100 Subject: [PATCH] added: alu ldi --- cpu/src/alu_b.vhd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpu/src/alu_b.vhd b/cpu/src/alu_b.vhd index 5fab318..1bb83de 100755 --- a/cpu/src/alu_b.vhd +++ b/cpu/src/alu_b.vhd @@ -99,7 +99,11 @@ begin when XOR_OP => result_v := xor_result; when SHIFT_OP => - result_v := shift_result; + result_v := shift_result; + when LDST_OP => + if op_detail(IMM_OPT) = '1' then + result_v := right_operand; + end if; end case; -- 2.25.1