1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-10 22:37:30 +00:00

Merge pull request #1151 from TomHarte/STopByteAgain

Fix S top byte overwrite.
This commit is contained in:
Thomas Harte 2023-08-18 11:28:51 -04:00 committed by GitHub
commit d207c13b6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: {