Has anyone any clue how it is used ?
Honnestly I always use CMP/CPX/CPY instruction in pairs with the Z flags (to test equality) or with the C flag, to test >= or <
Also V is affected and I'm pretty sure it's purpose is to compare signed numbers, although I don't remember ever using it.
However, what about the N flag ? Supposedly it would be set as if a SBC instruction was used, exept the registers aren't affected.
Honnestly I always use CMP/CPX/CPY instruction in pairs with the Z flags (to test equality) or with the C flag, to test >= or <
Also V is affected and I'm pretty sure it's purpose is to compare signed numbers, although I don't remember ever using it.
However, what about the N flag ? Supposedly it would be set as if a SBC instruction was used, exept the registers aren't affected.