X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/b057a5d6e6db6db06ae33703ca72cd235eec91d6..HEAD:/core/insn_halt.v?ds=inline diff --git a/core/insn_halt.v b/core/insn_halt.v index 4d2573f..535f7fc 100644 --- a/core/insn_halt.v +++ b/core/insn_halt.v @@ -1,12 +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