Category:6502 Assembly: Difference between revisions

m
Line 44:
Denoted with the letter V.
 
If a number crosses the "boundary" between #$7F and #$80, this flag is set. Note that adding #1 to #$FF does <i>not</i> set this flag. On certain systems, this flag is also set by external hardware. The <code>BIT</code> command also sets this flag if the specified address's value has bit 6 set.
 
* Set with: N/A (There is no explicit command for this but you can do it with <code>BIT $addr</code> where <code>$addr</code> is a zero-page or absolute address containing a value where bit 6 is set, i.e. the left hex digit equals 4, 5, 6, 7, C, D, E, or F)
1,489

edits