SBC: result = byte1 - byte2 - carry carry = result < 0 return result & 0xff ADC: result = byte1 + byte2 + carry carry = result > 0xff return result & 0xff