According to this website, under the "major uses" for CLC
, it states:
If there are to be a series of additions (multiple-byte addition), only the first
ADC
is preceded byCLC
since the carry feature is necessary.
Under the "major uses" for SBC
it states:
You always
SEC
(set the carry flag) before anSBC
operation so you can tell if you need a "borrow".
In other words for a series of consecutive ADC
operations, you only need a CLC
before the first, but before a series of consecutive SBC
operations, you should have a SEC
before each. Is this correct?