]> Joshua Wise's Git repositories - fpgaboy.git/blame - insn_vop_intr.v
Cleanups to make code nicer looking. ALU subtraction fixes.
[fpgaboy.git] / insn_vop_intr.v
CommitLineData
df770340
JW
1`ifdef EXECUTE
2 `INSN_VOP_INTR: begin
3 case (cycle)
5509558d
JW
4 0: `EXEC_WRITE(`_SP - 1, `_PCH);
5 1: `EXEC_WRITE(`_SP - 2, `_PCL);
6 2: `EXEC_NEWCYCLE;
df770340
JW
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;
5509558d
JW
18 `_PC <= {8'b0, jaddr};
19 `_SP <= `_SP - 2;
df770340
JW
20 end
21 endcase
22 end
23`endif
This page took 0.02828 seconds and 4 git commands to generate.