decoder for st-op
authorStefan Rebernig <stefan.rebernig@gmail.com>
Sat, 11 Dec 2010 10:29:12 +0000 (11:29 +0100)
committerStefan Rebernig <stefan.rebernig@gmail.com>
Sat, 11 Dec 2010 10:29:12 +0000 (11:29 +0100)
cpu/src/decoder_b.vhd

index 339d11d1af28ff04ba55bbf8b6cc7667d26f2711..ae69be8fab0ccd4f535bbf5294a61f2b1ca64ee8 100644 (file)
@@ -312,6 +312,11 @@ begin
                        instr_s.op_group := JMP_OP;
                end if;
                
+               if (instr_s.jmptype = "01") then
+                       instr_s.op_group := JMP_ST_OP;
+               --      instr_s.op_detail(RET_OPT) := '0';
+               end if;
+
                if (instr_s.predicates = "1111") then
                        instr_s.bp := '0';
                end if;