]> Joshua Wise's Git repositories - fpgaboy.git/blob - insn_ld_sp_hl.v
Sound: Leave it to Dennis.
[fpgaboy.git] / insn_ld_sp_hl.v
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.030796 seconds and 4 git commands to generate.