Welcome Charles,
As far as the first question, no, you do not need to set the carry flag.
The operation description of the SBC command is:
A-M-(-C)->A with NVZC flags affected. The -C is the inverse of the carry flag.
The CMP operation description is:
A-M->A with NZC flags affected.
As far as the second question, I cannot answer that. My books are all from the 80's. However,
www.6502.org has a good list of books and also some datasheets that may offer some help. Also, follow the link under commercial support to Sierra Circuit design. On their download links there is a 65C02 programmer's reference guide that could help as well.
Good luck!
Daryl (
65c02@altavista.com)
_________________
Please visit my website ->
https://sbc.rictor.org/