Category:6502 Assembly: Difference between revisions
m
→Order Of Importance
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
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.
;check bit 6
BIT $00 ;if bit 6 of the value in $00 is set, this command will set the overflow flag.
BVS bit6set
|