I found this post by byuu regarding the overflow flag: http://board.zsnes.com/phpBB3/viewtopic.php?p=66102&sid=721df8e5c71d20a3bfc62e841fe61257#p66102
He states that there is a weird issue with the overflow flag for ADC. Interestingly, however, looking at the bsnes/higan source for the SMP (see bsnes_src/sfc/alt/algorithms.cpp, search for op_adc), byuu does not implement this behavior for either ADC or ADDW.
On the other hand, looking at the mess source (see src/emu/cpu/spc700/spc700.c) they do implement this behavior but only for the ADDW opcode and not for ADC.
Can anyone help clarify what the proper implementation of the overflow flag is on the spc700 for ADC and ADDW?
He states that there is a weird issue with the overflow flag for ADC. Interestingly, however, looking at the bsnes/higan source for the SMP (see bsnes_src/sfc/alt/algorithms.cpp, search for op_adc), byuu does not implement this behavior for either ADC or ADDW.
On the other hand, looking at the mess source (see src/emu/cpu/spc700/spc700.c) they do implement this behavior but only for the ADDW opcode and not for ADC.
Can anyone help clarify what the proper implementation of the overflow flag is on the spc700 for ADC and ADDW?