]> Joshua Wise's Git repositories - fpgaboy.git/blob - insn_incdec_hl.v
INC -> INCDEC
[fpgaboy.git] / 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.029946 seconds and 4 git commands to generate.