1 `define INSN_JP_imm 9'b011000011
2 `define INSN_JPCC_imm 9'b0110xx010
5 `INSN_JP_imm,`INSN_JPCC_imm: begin
17 if (!opcode[0]) begin // i.e., JP cc,nn
18 /* We need to check the condition code to bail out. */
20 `INSN_cc_NZ: if (`_F[7]) `EXEC_NEWCYCLE
21 `INSN_cc_Z: if (~`_F[7]) `EXEC_NEWCYCLE
22 `INSN_cc_NC: if (`_F[4]) `EXEC_NEWCYCLE
23 `INSN_cc_C: if (~`_F[4]) `EXEC_NEWCYCLE
33 `INSN_JP_imm,`INSN_JPCC_imm: begin
35 0: begin /* type F */ end
36 1: tmp <= rdata; // tmp contains newpcl
37 2: tmp2 <= rdata; // tmp2 contains newpch
38 3: `_PC <= {tmp2,tmp};