Integer overflow: Difference between revisions
m
→Zilog Z80
Puppydrum64 (talk | contribs) m (→Zilog Z80) |
Puppydrum64 (talk | contribs) m (→Zilog Z80) |
||
Line 2,670:
=={{header|Z80 Assembly}}==
===Zilog Z80===
The <code>P</code> flag represents overflow after an arithmetic operation, and bit parity after a bitwise or logical operation. Arithmetic operations will result in overflow if the
There are no assembler mnemonics for overflow specifically, so we must borrow the ones for parity.
|