9 bits mode
separating 9 bits mode into ifdef