mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-28 10:17:40 +00:00
Do something for SMSW.
This commit is contained in:
@@ -282,6 +282,13 @@ template <
|
||||
context.segments.did_update(instruction.destination().source());
|
||||
}
|
||||
break;
|
||||
case Operation::SMSW:
|
||||
if constexpr (ContextT::model >= Model::i80286 && std::is_same_v<IntT, uint16_t>) {
|
||||
Primitive::smsw(destination_w(), context);
|
||||
} else {
|
||||
assert(false);
|
||||
}
|
||||
break;
|
||||
|
||||
case Operation::JO: jcc(context.flags.template condition<Condition::Overflow>()); return;
|
||||
case Operation::JNO: jcc(!context.flags.template condition<Condition::Overflow>()); return;
|
||||
|
||||
Reference in New Issue
Block a user