SBC |
Substract memory from accumulator with borrow |
SBC | ||||||||||||||||||||||||||||||||||||||||||||||
Operation: A - M - _C → A Note: _C = Borrow |
N Z C I D V/ / / _ _ / | |||||||||||||||||||||||||||||||||||||||||||||||
| (Ref: 2.2.2) | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
| * Add 1 when page boundary is crossed. | ||||||||||||||||||||||||||||||||||||||||||||||||
SEC |
SEC Set carry flag |
SEC | |||||||||||
Operation: 1 → C |
N Z C I D V_ _ 1 _ _ _ | ||||||||||||
| (Ref: 3.0.1) | |||||||||||||
| |||||||||||||
SED |
SED Set decimal mode |
SED | |||||||||||
Operation: 1 → D |
N Z C I D V_ _ _ _ 1 _ | ||||||||||||
| (Ref: 3.3.1) | |||||||||||||
| |||||||||||||
| This page has been created by Sami Rautiainen. | |
| Read the small print. | Last updated December 07, 2002. |