use byte as type of state numeric ANSI code