]> Joshua Wise's Git repositories - fpgaboy.git/blob - insn_vop_intr.v
5cb40e1f6f5b8e2d99df0a6cf53c02147fe9baf1
[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.019821 seconds and 2 git commands to generate.