X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/eaec80f24007825c7abba2affd76f74d520ce4cd..HEAD:/core/insn_halt.v diff --git a/core/insn_halt.v b/core/insn_halt.v index 9a3c1c0..535f7fc 100644 --- a/core/insn_halt.v +++ b/core/insn_halt.v @@ -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