1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-05 13:30:07 +00:00

Correct ASL/ASR/etc output.

This commit is contained in:
Thomas Harte 2022-04-21 09:48:49 -04:00
parent 3dce673b37
commit 3673f931b8

View File

@ -2245,7 +2245,12 @@ struct ProcessorStorageConstructor {
case Decoder::ASLR_LSLR_ROLR_ROXLRr: {
program.set_destination(storage_, 0, ea_register);
dumper.set_source(Dn, ea_register);
dumper.set_dest(Dn, ea_register);
if(instruction & 0x20) {
dumper.set_source(Dn, data_register);
} else {
dumper.set_source(Quick, data_register);
}
// All further decoding occurs at runtime; that's also when the proper number of
// no-op cycles will be scheduled.