5 ms·
I don't know enough of the 8086 so I don't know if this works the same, but on the Z80 (which means it was probably true for the 8080 too), XOR A would also cle
by Anarch157a 10mo ago
I don't know enough of the 8086 so I don't know if this works the same, but on the Z80 (which means it was probably true for the 8080 too), XOR A would also clear pretty much all bits on the flag register, meaning the flags would be in a known state before doing something that could affect them.
- vanderZwan 10mo agoWhich I guess is the same reason why modern Intel CPU pipelines can rely on it for pipelining.