Jump to content

Integer overflow: Difference between revisions

m
m (→‎{{header|6502 Assembly}}: added section on 16 bit overflow)
Line 2,677:
 
===Game Boy===
The Game Boy's isCPU missinghas no parity/overflow flag, and therefore all control flow commandsstructures pertainingrelated to theit overflowhave flagbeen removed. Overflow can still be detected in theory, but it's a difficult process that requires the exclusive or of the carry flag and whether a subtraction changed the sign of the accumulator or not. Since the Game Boy's CPU cannot natively detect overflow, the CPU <b> will continue with a wrong result.</b>
 
=={{header|zkl}}==
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.