We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

SEV

From SnesLab
Revision as of 01:50, 10 August 2024 by Xetheria (talk | contribs) (→‎External Links: hid archive URL for E&L)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SEV (SEt Overflow) is a mnemonic for a non-existant 6502 instruction.

To set the overflow flag, consider using SEP or BIT. Like this:

SEP #$40

A common way is to use BIT on the address of a byte in ROM that has bit 6 set, like an RTS.[1]

See Also

External Links

  1. Clark, Bruce. http://www.6502.org/tutorials/vflag.html
  2. Eyes & Lichty, page 263