]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - insn_jp_hl.v
Rework it all to use the new macros.
[fpgaboy.git] / insn_jp_hl.v
index 4ee380aec15fbd5a2cd2cf826b68f29c1d963aae..4aa9a41748e62c4cf2a65f1383916b0a5ca47d9a 100644 (file)
@@ -1,12 +1,7 @@
 `ifdef EXECUTE
 `ifdef EXECUTE
-       `INSN_JP_HL: begin
-               `EXEC_NEWCYCLE;
-       end
+       `INSN_JP_HL:    `EXEC_NEWCYCLE
 `endif
 
 `ifdef WRITEBACK
 `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
 `endif
This page took 0.021486 seconds and 4 git commands to generate.