| cp (ixy+d) || DD/FD 10111110 dddddddd || 5 || 19 (4,4,3,5,3) || tmp := a - (ixy+d), f5 := (ixy+d).5, f3 := (ixy+d).3
|}
Note: Arithmetic operations ADD, ADC, SUB, SBC calculate flags in the same way. Logic operations AND, XOR, OR calculate flags in the same way.
=== BCD group ===