]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - core/insn_halt.v
IP
[fpgaboy.git] / core / insn_halt.v
index 9a3c1c025e36bf1775eec5ae1bfe13238e86183e..535f7fc168c27a5c26d069293a9084ccee6ef1a0 100644 (file)
@@ -1,14 +1,16 @@
 `define INSN_HALT              9'b001110110
+`define INSN_STOP              9'b000010000
 
 `ifdef EXECUTE
-       `INSN_HALT: begin
+       `INSN_HALT,`INSN_STOP: begin
                `EXEC_NEWCYCLE
+               `EXEC_INC_PC
                /* XXX Interrupts needed for HALT. */
        end
 `endif
 
 `ifdef WRITEBACK
-       `INSN_HALT: begin
+       `INSN_HALT,`INSN_STOP: begin
                /* Nothing needs happen here. */
                /* XXX Interrupts needed for HALT. */
        end
This page took 0.028435 seconds and 4 git commands to generate.