separating 9 bits mode into ifdef