From: Markus Hofstätter Date: Mon, 29 Nov 2010 13:49:15 +0000 (+0100) Subject: added: alu ldi X-Git-Tag: bootrom_v1~117 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=calu.git;a=commitdiff_plain;h=d0991696d4d2629843742052cded81ea17fdb8c5 added: alu ldi --- 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;