Rework it all to use the new macros.
[fpgaboy.git] / insn_jp_hl.v
index 4ee380a..4aa9a41 100644 (file)
@@ -1,12 +1,7 @@
 `ifdef EXECUTE
-       `INSN_JP_HL: begin
-               `EXEC_NEWCYCLE;
-       end
+       `INSN_JP_HL:    `EXEC_NEWCYCLE
 `endif
 
 `ifdef WRITEBACK
-       `INSN_JP_HL: begin
-               {registers[`REG_PCH],registers[`REG_PCL]} <=
-                       {registers[`REG_H],registers[`REG_L]};
-       end
+       `INSN_JP_HL:    `_PC <= `_HL;
 `endif
This page took 0.018706 seconds and 4 git commands to generate.