it seems im having problems with V Flag in ADC Y SBC my cpu emu. Can somebody tell my if what im doing is OK?:
ADC:
- if source and mem are + and result is - : Set Flag
- if source and mem are - and result is +: Set Flag
SBC:
The same above instead we change the mem to ~mem
ADC:
- if source and mem are + and result is - : Set Flag
- if source and mem are - and result is +: Set Flag
SBC:
The same above instead we change the mem to ~mem