1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Implements the fixed part of register shifts.

This commit is contained in:
Thomas Harte 2019-04-09 22:12:37 -04:00
parent 85d25068a8
commit a07de97df4

View File

@ -921,7 +921,13 @@ struct ProcessorStorageConstructor {
case Decoder::ASLRLSLRROLRROXLRr: {
storage_.instructions[instruction].set_destination(storage_, 0, ea_register);
// All decoding occurs at runtime.
// All further decoding occurs at runtime; that's also when the proper number of
// no-op cycles will be scheduled.
if(((instruction >> 6) & 3) == 2) {
op(Action::None, seq("np nn"));
} else {
op(Action::None, seq("np n"));
}
op(Action::PerformOperation);
} break;