8085 ALU Operations
8-bit arithmetic and logic with flag register output.
Execution result
1A + 0F = 00
binary: 00011010 ADD 00001111 = 00000000
Flag register
0
S
0
Z
0
AC
0
P
0
CY
S = sign (MSB of result), Z = zero, AC = auxiliary carry from low nibble, P = parity (even = 1), CY = carry/borrow out of bit 7. The accumulator holds the result in A.
Accumulator (A)00