hp-saturn/opcodes/82x_CLRHST.v
2019-02-08 11:15:16 +01:00

24 lines
531 B
Verilog

/******************************************************************************
* 82x
*
* lots of things there
*
*/
`include "decstates.v"
`DEC_82X_CLRHST: begin
HST <= HST & ~nibble;
decstate <= `DEC_START;
`ifdef SIM
$write("%5h ", inst_start_PC);
case (nibble)
4'h1: $display("XM=0");
4'h2: $display("SB=0");
4'h4: $display("SR=0");
4'h8: $display("MP=0");
4'hf: $display("CLRHST");
default: $display("CLRHST\t%f", nibble);
endcase
`endif
end