]> Joshua Wise's Git repositories - fpgaboy.git/blame_incremental - insn_ld_sp_hl.v
Semi-working, but prone to anus, keyboard driver
[fpgaboy.git] / insn_ld_sp_hl.v
... / ...
CommitLineData
1`ifdef EXECUTE
2 `INSN_LD_SP_HL: begin
3 case (cycle)
4 0: tmp <= `_H;
5 1: begin
6 `EXEC_NEWCYCLE
7 `EXEC_INC_PC
8 tmp <= `_L;
9 end
10 endcase
11 end
12`endif
13
14`ifdef WRITEBACK
15 `INSN_LD_SP_HL: begin
16 case (cycle)
17 0: `_SPH <= tmp;
18 1: `_SPL <= tmp;
19 endcase
20 end
21`endif
This page took 0.025656 seconds and 4 git commands to generate.