write_low24_check
if (write_low24_check(P, (S + A) >> 2))
if (write_low24_check(P, (S + A - P) >> 2))
if (write_low24_check(P, (L + A - P) >> 2))