Application of micoprocessors in devices for instrumentation and automatic control