]> Joshua Wise's Git repositories - fpgaboy.git/blob - core/insn_incdec_hl.v
abfe4952f6e21a42ca268d1564cb60806cb7b54f
[fpgaboy.git] / core / insn_incdec_hl.v
1 `ifdef EXECUTE
2         `INSN_INCDEC_HL: begin
3                 case (cycle)
4                 0:      `EXEC_READ(`_HL)
5                 1:      `EXEC_WRITE(`_HL, rdata + (opcode[0] ? 8'hFF : 8'h01))
6                 2:      begin
7                                 `EXEC_INC_PC
8                                 `EXEC_NEWCYCLE
9                         end
10                 endcase
11         end
12 `endif
13
14 `ifdef WRITEBACK
15         `INSN_INCDEC_HL: begin
16                 /* meh meh */
17         end
18 `endif
This page took 0.020893 seconds and 2 git commands to generate.