Blogger

Delete comment from: Ken Shirriff's blog

Zuoliu Ding said...

This detailed explanation is very helpful to understand the overflow flag generally, including other processors.

Thanks for mentioning this simple formula nicely:
V = C6 xor C7

that would be for Intel x86 processor to implement the Overflow Flag as
OF = (carry out of the MSB) XOR (carry into the MSB)

although the 6502 CPU use another implementation here. Really enjoy reading this article, concise, understandable, and straightforward.

Sep 8, 2018, 12:57:58 AM


Posted to The 6502 overflow flag explained mathematically

Google apps
Main menu