uart und extension anbindung
[calu.git] / cpu / src / decoder_b.vhd
index 911bd00678565ed0afc46de313a369fb8d92ef33..606c1952d6c7d75ddeb70e58a9e9d30b20f7c226 100644 (file)
@@ -154,7 +154,7 @@ begin
                instr_s.op_detail(IMM_OPT) := '1';
                instr_s.op_detail(NO_PSW_OPT) := instruction(0);
 
-               if (instr_s.opcode = "00111") then
+               if (instr_s.opcode = "00101") then
                        instr_s.op_group := AND_OP;
                end if;
 
@@ -278,7 +278,7 @@ begin
                instr_s.reg_src1_addr := instruction(18 downto 15);     -- mem addr
                instr_s.displacement(14 downto 0) := instruction(14 downto 0);
                instr_s.op_detail(NO_PSW_OPT) := '1';
-                instr_s.op_detail(ST_OPT) := '1';
+               instr_s.op_detail(ST_OPT) := '1';
                instr_s.op_group := LDST_OP;
 
                if (instr_s.displacement(14) = '1') then