]> Joshua Wise's Git repositories - fpgaboy.git/blame_incremental - insn_incdec_hl.v
Gate off vraminuse, oaminuse, etc with wehther the LCD is powered on. Make sure to...
[fpgaboy.git] / insn_incdec_hl.v
... / ...
CommitLineData
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.024511 seconds and 4 git commands to generate.