up: microprocessors - MC6800/MC6802 - instruction set - accumulators  
m6800/m6802 instruction set
Subtract Memory from Accumulator
What links here?
Subtract Memory From Accumulator
MemonicMode OpcodeCyclesBytes
SUBA Immediate 80 2 2
Direct 90 3 2
Indexed A0 5 2
Extended B0 4 3
SUBB Immediate C0 2 2
Direct D0 3 2
Indexed E0 5 2
Extended F0 4 3


A = A - M
B = B - M

Results:
H not affected
N set if bit 7 is 1
Z set if all bits are 0
V set on 2's complement overflow
C set on carry from bit 7
MC6802 - instruction set - Subtract Memory from Accumulator
MC6802 - instruction set - rotate left memory
MC6802 - instruction set - Branch if Overflow Clear
microprocessors - avr
file formats - PDF - Pages
microprocessors - microchip 16F690
filename:microprocessors - MC6800/MC6802 - instruction set - Subtract Memory from Accumulator
filename:microprocessors%20%2D%20MC6800%2FMC6802%20%2D%20instruction%20set%20%2D%20Subtract%20Memory%20from%20Accumulator
last edit:February 06 2010 14:04:52 (5614 days ago)
ct = 1750535718.000000 = June 21 2025 15:55:18
ft = 1265483092.000000 = February 06 2010 14:04:52
dt = 485052626.000000