4 Ю Изобретение относитс к выч 1слительной технике и может быть испо.льзо1 ано в цифровых вычислительных машинах дл запуска программ. Известно ycTpoiicTBo, содержащее регистр запоминани прерываний, схему управolt HHH прерывани ми, дескрипторный регистр , дешифратор и коммутатор 1. Недостатком устройства вл етс то, что не обеспечиваетс выход из программы при ее зацикливании. Наиболее близким по технической сущности к изобретению вл етс устройство, содержащее пороговую схему, матрицу триггеров , блок выделени крайней единицы, щифратор, элемент ИЛИ, дещифратор, схему сравнени , регистры, причем входы триггеров матрицы вл ютс входами устройства , вы.ходы триггеров матрицы соединены с соответствующими входами блока выделени крайней единицы, группа выходов которого соединена с входами пороговой схемы ч с группой в.ходов шифратора 2 . Недостатком данного устройства вл етс низкое быстродействие. Цель изобретени - повышение быстродействи и надежности работы устройства I J--r за счет автоматического выхода из зациклившихс программ. Поставленна цель достигаетс тем, что в устройство запуска программ, содержащее группу элементов И, группу триггеров, блок выделен и крайней единицы, шифратор , элементИЛИ, единиЯйые входы триггеров группы вл ютс входами запросов устройства, выходы триггеров группы соединены с соответствующими входами блока выделени крайней единицы, группа выходов которого соединена с группой входов 35 шифратора, введены генератор низкой частоты , счетчик и триггер запроса аварийной программы, причем выход генератора 1113КОЙ частоты соединен со счетным входo : счетчика, установочный вход которого соединен с установочным входом устройства , выход счетчика соединен со счетным входом триггера запроса аварийной програм .мы и с первым входом элемента ИЛИ, второй вход которого соединен с входом сбро- са }-стройства и вторым входом первого эле- 45 мента И группы, выход элемента ИЛИ соединен с первыми входами всех элементов И группы, кроме первого, выходы которых соединены с нулевыми входами триггеров группы, выход первого элемента И группы соединен с входом сброса триггера запро- 50 са аварийной программы, выход которого соединен с соответствующим входом блока выделени крайней единицы, выход которого вл етс выходом разрешени выполнени программы устройства, выход шифратора вл етс выходом кода номера обслу- 55 живаемой программы устройства, группа выходов блока выделени крайней единицы соединена с вторыми входами соответствующих элементов И группы. На фиг. 1 представ.лена структурна схема устройства; на фиг. 2 - блок-схема блока выделени крайней единицы. ,,„ Устройство содержит группу триггеров 1, блок 2 выделени крайней единицы, шифратор 3, счетчик 4, триггер 5 запроса аварийной программы, группу элементов И 6, элемент ИЛИ 7, входы 8 запросов, вход 9 сброса, вход 10 установочный, выход 11 кода номера обслуживаемой програм.мы, выход 12 разрешени выполнени программы , генератор 13 низкой частоты. Блок 2 содержит триггеры 14-17,элементы И 18- 20, элементы ИЛИ 21 и 22, триггер 23. Блок 2 выделени крайней единицы предназначен дл выбора из входных запросов наиболее приоритетного. Каждому выбранному запросу соответствует сигнал на отдельном выходе блока 2. При сн тии обслуживаемого запроса на входе блока 2 выходной сигнал также снимаетс . Сигнал на выходе 12 формируетс при выборе любого из запросов и вл етс сигналом разрешени выполнени программ вычислительным устройством (не показано). Блок 2 может быть выполнен например, по 3. Счетчик 4 формирует выходной сигнал, если длительность выполнени программы превышает заранее заданную. Врем выполнени программы задаетс в начале програ. или в отдельных блоках программы пересылкой соответствуюплего кода в счетчик 4 но входу 10. Устройство работает следующим образом . Через входы 8 поступают запросы на выполнение программ, которые включают соответствующие триггеры 1 группы. Блок 2 при поступлении на его вход сигналов от триггеров 1 группы формирует сигнал на выходе, соответствующем запросу с наибольшим приоритетом, который преобразуетс шифратором 3 в код номера запроса .По сигналу на выходе 12 и коду на выходе 11 запускаетс программа, соответствующа выбранному запрос}. В конце выполнени вычислительным устройством, в состав которого входит данное устройство. БЬ1даетс сигнал сброса по входу 9, который поступает через эле.мент Р1ЛИ 7 на выходы всех элементов И б группы. При этом сигнал сброса пройдет только через элемент И, второй вход которого св зан с выходом блока 2, соответствующим обслуживаемому запросу. Триггер обслуживаемого запроса выключаетс , снимаетс сигнал разрещени выполнени программы, программа оканчиваетс , Если длительность выполнени програм| у превышает врем , заданное на счетчпке 4, то на его выходе сформируетс сигнал, который через элемент ИЛИ 7 и соответству4 This invention relates to computing techniques and can be used in digital computers to run programs. It is known that the ycTpoiicTBo contains the interrupt memory register, the HHH interrupt control circuit, the descriptor register, the decoder, and the switch 1. The drawback of the device is that it does not exit the program when it is looped. The closest in technical essence to the invention is a device comprising a threshold circuit, a trigger matrix, an extreme unit allocation unit, an encoder, an OR element, a decryptor, a comparison circuit, registers, the inputs of the matrix triggers are inputs of the device, the matrix trigger outputs are connected with the corresponding inputs of the allocation unit of the extreme unit, the group of outputs of which is connected to the inputs of the threshold circuit h with the group of inputs of the encoder 2. The disadvantage of this device is low speed. The purpose of the invention is to increase the speed and reliability of the I J-r device by automatically exiting from looped programs. The goal is achieved in that a program launcher containing a group of elements AND, a group of triggers, a block is allocated and an extreme unit, an encoder, an element OR, unit inputs of group triggers are inputs of device requests, outputs of group triggers are connected to the corresponding units of the allocation unit , the group of outputs of which is connected to the group of inputs 35 of the encoder, a low-frequency generator, a counter and a trigger for requesting an emergency program are entered, the output of the 1113-kO frequency generator is connected to even input: the counter, the setup input of which is connected to the setup input of the device, the output of the counter is connected to the counting input of the emergency program request trigger and the first input of the OR element, the second input of which is connected to the reset input of the} device and the second input of the first ele - 45 ment AND group, the output of the OR element is connected to the first inputs of all AND elements of the group, except the first one, the outputs of which are connected to the zero inputs of group triggers, the output of the first AND element of the group is connected to the reset input of the request request 50 An output program whose output is connected to the corresponding input of the allocation unit of the extreme unit, the output of which is the output of the device execution enable resolution, the output of the encoder is the output of the code of the service unit's program number 55, the output unit group of the allocation unit of the extreme unit is connected to the second inputs of the corresponding elements And groups. FIG. 1 presents the device schematic diagram; in fig. 2 is a block diagram of an extreme unit allocation unit. ,, „The device contains the trigger group 1, block 2 of the extreme unit, the encoder 3, the counter 4, the emergency program request trigger 5, the AND 6 element group, the OR element 7, the request inputs 8, the reset input 9, the installation input 10, the output 11 code of the number of the program to be serviced; output 12 of the resolution of execution of the program; low frequency generator 13. Block 2 contains triggers 14-17, elements AND 18-20, elements OR 21 and 22, trigger 23. Block 2 of the extreme unit is designed to select the highest priority from input requests. Each selected request corresponds to a signal at a separate output of block 2. When the serviced request is removed at the input of block 2, the output signal is also removed. The signal at output 12 is generated when any of the requests is selected, and is a signal that the program is executed by a computing device (not shown). Block 2 can be performed, for example, by 3. Counter 4 generates an output signal if the duration of the program execution exceeds a predetermined one. The program execution time is set at the beginning of the program. or in separate blocks of the program by sending the corresponding code to counter 4 but input 10. The device operates as follows. Inputs 8 receive requests to execute programs, which include the corresponding triggers of group 1. Unit 2, when signals from group 1 triggers arrive at its input, generates a signal at the output corresponding to the request with the highest priority, which is converted by the encoder 3 to the request number code. At the end of the execution of the computing device, which includes this device. B1 is given a reset signal at the input 9, which is fed through the element PI1LI 7 to the outputs of all the elements of group B. In this case, the reset signal will pass only through the element And, the second input of which is connected with the output of block 2, corresponding to the serviced request. The trigger of the serviced request is turned off, the program execution enable signal is removed, the program ends If the program execution duration | y is longer than the time specified on the counter 4, then at its output a signal is formed which, through the element OR 7 and corresponding