mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
Add TODO.
This commit is contained in:
@@ -479,6 +479,10 @@ constexpr bool supports(Operation operation, Repetition repetition) {
|
|||||||
case Operation::STOS:
|
case Operation::STOS:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// TODO: my new understanding is that the 8086 and 8088 recognise rep and repne on
|
||||||
|
// IDIV — and possibly DIV — as a quirk, affecting the outcome (possibly negativing the result?).
|
||||||
|
// So the test below should be a function of model, if I come to a conclusion about whether I'm
|
||||||
|
// going for fidelity to the instruction set as generally implemented, or to Intel's specific implementation.
|
||||||
case Operation::IDIV:
|
case Operation::IDIV:
|
||||||
return repetition == Repetition::RepNE;
|
return repetition == Repetition::RepNE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user