Cleanups to make code nicer looking. ALU subtraction fixes.
[fpgaboy.git] / insn_vop_intr.v
1 `ifdef EXECUTE
2         `INSN_VOP_INTR: begin
3                 case (cycle)
4                 0:      `EXEC_WRITE(`_SP - 1, `_PCH);
5                 1:      `EXEC_WRITE(`_SP - 2, `_PCL);
6                 2:      `EXEC_NEWCYCLE;
7                 endcase
8         end
9 `endif
10
11 `ifdef WRITEBACK
12         `INSN_VOP_INTR: begin
13                 case (cycle)
14                 0:      begin end
15                 1:      begin end
16                 2:      begin
17                                 ie <= 0;
18                                 `_PC <= {8'b0, jaddr};
19                                 `_SP <= `_SP - 2;
20                         end
21                 endcase
22         end
23 `endif
This page took 0.01789 seconds and 4 git commands to generate.