3 ms·
The overflow flag and its intrinsics was quite a mystery for a while. (Related fun fact: There is no such thing as a break flag, it just gets inserted, wheneve
by masswerk 5y ago
The overflow flag and its intrinsics was quite a mystery for a while.
(Related fun fact: There is no such thing as a break flag, it just gets inserted, whenever the the status register is pushed to the stack by an instruction, i.e. by software, as opposed to a hardware interrupt. This is also, why it is commonly shown as 1, because this is the value it would show up with, if there was a PHP or BRK instruction at the given time, which is also: always. But this is really just a virtual state and there is no such flag in the CPU.)