Yeah, flags are probably used by the internal algorithm.
I just quickly tested DIVS with 68020 and 68030, both seems to work identically but undefined bits are not static (like on 68000).
For example:
$0F000/1 = ZV
$0F0F0/1 = NV
$1F0F0/1 = V
I think this is impossible to reverse without knowing internal algorithm.
EDIT: 68040/060 seems to always only set V.
Last edited by Toni Wilen; 02 December 2017 at 19:45.
|