hp-saturn/opcodes/80x.v
2019-02-08 11:06:19 +01:00

26 lines
507 B
Verilog

/******************************************************************************
* 80
* a lot of things start with 80...
*
*/
`include "decstates.v"
`DEC_80X: begin
case (nibble)
4'h5: begin
execute_cycle <= 1;
decstate <= `DEC_CONFIG;
end
4'ha: begin
execute_cycle <= 1;
decstate <= `DEC_RESET;
end
4'hc: decstate <= `DEC_C_EQ_P_N;
default: begin
$display("ERROR : DEC_80X");
decode_error <= 1;
end
endcase
end