Category:6502 Assembly: Difference between revisions

m
Line 223:
;check bit 7
BIT $00 ;alternatively, LDA $00 will work here too.
BMI bit7set ;if bit 7 of the value in $00 is set, this command will set the negative flag.
BMI bit7set
 
;check bit 6
BIT $00 ;if bit 6 of the value in $00 is set, this command will set the overflow flag.
BIT $00
BVS bit6set
 
1,489

edits