1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Fix S top byte overwrite.

This commit is contained in:
Thomas Harte 2023-08-17 14:50:55 -04:00
parent 0a336baae2
commit 833613b68a

View File

@ -69,7 +69,7 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
memory_lock_ = false;
// Reenforce the top byte of S if applicable.
registers_.s.halves.high = stack_address();
registers_.s.full = stack_address();
} continue;
case OperationDecode: {