We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Carry Flag: Difference between revisions
From SnesLab
(list of instructions that affect it) |
(→Reference: page 108) |
||
Line 22: | Line 22: | ||
=== Reference === | === Reference === | ||
* Labiak, William. https://archive.org/details/Programming_the_65816/page/n118 | * Labiak, William. | ||
Page 108. https://archive.org/details/Programming_the_65816/page/n118 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Flags]] | [[Category:Flags]] | ||
[[Category:Inherited from 6502]] | [[Category:Inherited from 6502]] |
Revision as of 11:22, 7 December 2023
The Carry Flag exists on the 65c816.
It can be set with SEC and cleared with CLC. Or, SEP and REP can be used.
The following other 10 instructions have side effects that directly affect the carry flag:
The following two instructions indirectly affect the carry flag by loading the status register:
Reference
- Labiak, William.
Page 108. https://archive.org/details/Programming_the_65816/page/n118