]> Joshua Wise's Git repositories - fpgaboy.git/blame - core/insn_ld_reg_hl.v
Move the core to core/
[fpgaboy.git] / core / insn_ld_reg_hl.v
CommitLineData
81358c71
JW
1`ifdef EXECUTE
2 `INSN_LD_reg_HL: begin
3 case(cycle)
5c33c5c0 4 0: `EXEC_READ(`_HL)
81358c71 5 1: begin
5c33c5c0
JW
6 `EXEC_INC_PC
7 `EXEC_NEWCYCLE
81358c71
JW
8 end
9 endcase
10 end
11`endif
12
13`ifdef WRITEBACK
14 `INSN_LD_reg_HL: begin
15 case (cycle)
16 0: begin end
5c33c5c0
JW
17 1: case (opcode[5:3])
18 `INSN_reg_A: `_A <= rdata;
19 `INSN_reg_B: `_B <= rdata;
20 `INSN_reg_C: `_C <= rdata;
21 `INSN_reg_D: `_D <= rdata;
22 `INSN_reg_E: `_E <= rdata;
23 `INSN_reg_H: `_H <= rdata;
24 `INSN_reg_L: `_L <= rdata;
25 endcase
81358c71
JW
26 endcase
27 end
28`endif
This page took 0.03846 seconds and 4 git commands to generate.