3 ms·
The question is how much more expensive then a overflow checked add, which is mostly likely not as cheap as a non checked add. I mean in the end both do a non
by dathinab 6y ago
The question is how much more expensive then a overflow checked add, which is mostly likely not as cheap as a non checked add.
I mean in the end both do a non checked add and then branch on the carry. One does it implicitly and branches to an interrupt and one does it explicitly and branches however you like it.
(Slightly) Increased chip complexity should be included in the choice, too.
I guess the main difference would/could be if used with some form of branch prediction.