hp-saturn/opcodes/0x.v
2019-02-08 00:02:55 +01:00

27 lines
436 B
Verilog

/******************************************************************************
* 0X
*
*
*/
`DEC_0X: begin
case (nibble)
4'h3: begin
execute_cycle <= 1;
decstate <= `DEC_RTNCC;
end
4'h4: begin
execute_cycle <= 1;
decstate <= `DEC_SETHEX;
end
4'h5: begin
execute_cycle <= 1;
decstate <= `DEC_SETDEC;
end
default: begin
$display("ERROR : DEC_0X");
decode_error <= 1;
end
endcase
end