1 `define INSN_CALL 9'b011001101
2 `define INSN_CALLCC 9'b0110xx100 // Not that call/cc.
5 `INSN_CALL,`INSN_CALLCC: begin
17 if (!opcode[0]) // i.e., is callcc
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
26 3: `EXEC_WRITE(`_SP - 1, `_PCH)
27 4: `EXEC_WRITE(`_SP - 2, `_PCL)
34 `INSN_CALL,`INSN_CALLCC: begin
36 0: begin /* type F */ end
37 1: tmp <= rdata; // tmp contains newpcl
38 2: tmp2 <= rdata; // tmp2 contains newpch
39 3: begin /* type F */ end