mirror of
https://github.com/sxpert/hp-saturn
synced 2024-11-16 19:50:19 +01:00
implement RSTK=C
This commit is contained in:
parent
4e33d9c145
commit
c26772b4f9
1 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,14 @@
|
|||
$display("%05h SETDEC", inst_start_PC);
|
||||
`endif
|
||||
end
|
||||
4'h6: begin
|
||||
rstk_ptr <= rstk_ptr + 1;
|
||||
RSTK[rstk_ptr + 1] <= C[19:0];
|
||||
decstate <= `DEC_START;
|
||||
`ifdef SIM
|
||||
$display("%05h RSTK=C", inst_start_PC);
|
||||
`endif
|
||||
end
|
||||
default: begin
|
||||
$display("ERROR : DEC_0X");
|
||||
decode_error <= 1;
|
||||
|
|
Loading…
Reference in a new issue