]> Joshua Wise's Git repositories - fpgaboy.git/blame - insn_incdec_hl.v
Semi-working, but prone to anus, keyboard driver
[fpgaboy.git] / insn_incdec_hl.v
CommitLineData
f2b745a7
JW
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.030123 seconds and 4 git commands to generate.