instr_s.reg_dest_addr := instruction(22 downto 19);
instr_s.op_group := STACK_OP;
instr_s.op_detail(NO_PSW_OPT) := '1';
+ instr_s.op_detail(PWREN_OPT) := '1';
case instruction(18 downto 17) is
- when "00" =>
+ when "00" => --pop
instr_s.op_detail(PUSH_OPT) := '0';
- when "01" => null;
+ when "01" => --disc
+ instr_s.op_detail(PUSH_OPT) := '0';
+ instr_s.op_detail(NO_DST_OPT) := '1';
- when "10" => null;
+ when "10" => --fetch
+ instr_s.op_detail(PUSH_OPT) := '0';
+ instr_s.op_detail(PWREN_OPT) := '0';
- when "11" =>
+ when "11" => --push
instr_s.op_detail(PUSH_OPT) := '1';
when others => null;