SU610113A1 - Program relaying arrangement - Google Patents

Program relaying arrangement

Info

Publication number
SU610113A1
SU610113A1 SU752322555A SU2322555A SU610113A1 SU 610113 A1 SU610113 A1 SU 610113A1 SU 752322555 A SU752322555 A SU 752322555A SU 2322555 A SU2322555 A SU 2322555A SU 610113 A1 SU610113 A1 SU 610113A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
language
unit
digital computer
block
Prior art date
Application number
SU752322555A
Other languages
Russian (ru)
Inventor
Александр Михайлович Брежнев
Марат Иосифович Лурьев
Валерий Васильевич Фоменко
Original Assignee
Новочеркасский Ордена Трудового Красного Знамени Политехнический Институт Им.Серго Орджоникидзе
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Новочеркасский Ордена Трудового Красного Знамени Политехнический Институт Им.Серго Орджоникидзе filed Critical Новочеркасский Ордена Трудового Красного Знамени Политехнический Институт Им.Серго Орджоникидзе
Priority to SU752322555A priority Critical patent/SU610113A1/en
Application granted granted Critical
Publication of SU610113A1 publication Critical patent/SU610113A1/en

Links

Description

(54) УСТРОЙСТВО ДЛЯ ТРАНСЛИРОВАНИЯ ПРОГРАММ(54) DEVICE FOR TRANSLATING PROGRAMS

1one

Изобретение относитс  к области вычислительной техники и может быть использовано дл  обработки выражений алгоритмического  зыка. .The invention relates to the field of computing and can be used for processing expressions of an algorithmic language. .

Известно устройство дл  транслировани  программ, записанных на  зыке АЛГОЛ 1, содержащее дешифратор основных синтаксических пон тий, триггеры регистров пол  анализа , логическую схему сброса триггеров регистра пол  анализа, логическую схему перехода на новое поле анализа и логическую схему запуска триггеров регистра пол  анализа.A device for translating programs written in ALGOL 1 is known, which contains a descrambler of basic syntax concepts, triggers of the analysis field registers, a logic circuit for resetting triggers of the analysis field, a logic circuit for switching to the analysis field, and a logic circuit for triggering the fields of the analysis field.

Недостаток устройства состоит в больших затратах оборудовани  дл  его реализации.The disadvantage of the device is the high cost of equipment for its implementation.

Наиболее близким к изобретению по технической сущности и достигаемому положительному результату  вл етс  устройство дл  транслировани  программ 2, содержащее блок хранени  символов  зыка, блок хранени  адресов идентиф.чкаторов, блок выделени  команды и блок подсветки.The closest to the invention in technical essence and the achieved positive result is a device for broadcasting programs 2, comprising a language character storage unit, an address identifier storing unit, a command extractor unit and a backlight unit.

Недостатками устройства  вл ютс  большие затраты оборудовани  на его реализацию, а также необходимость внесени  изменений в устройство при смене грамматики алгоритмического  зыка, что сужает функциональные возможности устройства.The drawbacks of the device are the high costs of equipment for its implementation, as well as the need to make changes to the device when changing the grammar of the algorithmic language, which reduces the functionality of the device.

Цель изобретени  - сокращение количества оборудовани  и повышение гибкости путем обеспечени  устойчивости к изменению грамматики входного  зыка.The purpose of the invention is to reduce the amount of equipment and increase flexibility by providing resistance to changes in the grammar of the input language.

Поставленна  цель достигаетс  тем, что предложенное устройство содержит дешифратор состо ний, регистр состо ний, блок хранени  кодов операций базисной машины, буферный регистр и блок св зи с цифровой вычислительной машиной (ЦВМ). С первого по п тый выходы дептфратора состо ний соединены соответственно со входами блока хранени  символов  зыка,блока хранени  адресов идентификаторов и блока Выделени  команды, с первыми входами блока подсветки и блока св зи с ЦВМ, второй вход, первый и второй выходы которого соединены соответственно с первым выходом буферного регистра, с первым входом дешифратора состо ний и первым входом буферного регистра. Цервые выходы блоков хранени  символов  зыка, хранени  адресов идентификаторов и выделени  команды соединены с кодовыми входами регистра состо ни , управл ющий вход которого и выход соединены соответственно со вторым выходом буферного регистра и со вторым входом дешифратора состо ний . Вторые выходы блоков хранени  символов  зыка, хранени  адресов идентификаторов и выделени  команды соединены соответственно со входом блока хранени  кодов операций базисной машины, со вторым и третьим входами буферного регистра, четвертый вход н третий выход которого соединены соответственно с выходом блока хранени  кодов операцнй базисной машины н со вторым входом блока подсветки, а вход-выход блока св зи с ЦВМ  вл етс  входом-выходом устройства.The goal is achieved by the fact that the proposed device contains a state decoder, a state register, a storage unit of operation codes of a basic machine, a buffer register and a communication unit with a digital computer (DVR). From the first to the fifth outputs, the depotfrator of states is connected respectively to the inputs of the language character storage unit, the identifier address storage unit and the command allocation unit, the first inputs of the backlight unit and the communication unit with a digital computer, the second input, the first and second outputs of which are connected respectively to the first output of the buffer register, with the first input of the state decoder and the first input of the buffer register. For the first time, the outputs of the language character storage blocks, the storage of identifier addresses and command allocation are connected to the code inputs of the state register, the control input of which and the output are connected respectively to the second output of the buffer register and to the second input of the state decoder. The second outputs of the language character storage blocks, the storage of identifier addresses and command allocation are connected respectively to the input of the basic machine operation codes storage unit, the second and third inputs of the buffer register, the fourth input and the third output of which are connected respectively with the output of the basic machine code codes the second input of the backlight unit, and the input-output of the communication unit with a digital computer is the input-output device.

Структурна  схема устройства представлена на чертеже.The block diagram of the device is shown in the drawing.

Устройство ДЛ.Я транслировани  программ содержит блок хранени  символов  зыка I, блок хранени  адресов идентификаторов 2, блок 3 св зи с ЦВМ, буферный регистр 4, блок подсветки 5, регистр состо иий 6 с кодовыми входами 7 и управл ющим входо.ч 8, дешифратор состо иий 9, блок iO хранени  кодов операций базисной машины и блок выделени  команды 11.The device for translating programs contains a block of storing symbols of language I, a block of storing addresses of identifiers 2, block 3 of communication with a digital computer, a buffer register 4, a block of illumination 5, a register of state 6 with code inputs 7 and control input / hour 8, a decoder of state 9, an iO storage unit of operation codes of the basic machine, and a command allocation unit 11.

Устройство работает c.Jeдyющим образом.The device works c.Jeductive way.

Перед началом работы лист с написанной программой вставл ют в определенное место панели управлени  устройством (на чертеже не показана) таким образом, чтобы в окошк , на панелн была видна одна строка написанного. На панели управлени  устройством расположены клавиатура, соединенна  с блоком хранени  символов  зыка 1, клавиатура, соединенна  с блоком хранени  адресов идентификаторов 2, и служебна  клавиатура, соединенна  с блоком 3 св зи с ЦВМ 12. На клавишах, соединенных с блоком I, написаны основные символы  зыка. Надписи измен ютс  в зависимости от того, с какого  зыка предстоит выполнить трансл цию. На клавишах, соединенных с блоком хранени  адресов идентификаторов 2, написаны идентификаторы, используемые в программе .Before work, a sheet with a written program is inserted into a specific place in the device control panel (not shown in the drawing) so that one line of the written is visible in the window, on the panel. On the control panel of the device, there is a keyboard connected to a storage unit of characters of language 1, a keyboard connected to a storage unit of addresses of identifiers 2, and a service keyboard connected to communication unit 3 with a digital computer 12. On the keys connected to block I, the main characters are written zyka. The captions change depending on the language from which the translation is to be performed. On the keys connected to the block of storage of addresses of identifiers 2, the identifiers used in the program are written.

С панели управлени  с помош ью блока 3 св зи с ЦВМ, устанавливаетс  св зь с ЦВМ 12. По установлении св зи в машину передаетс  служебное сообщение, содержащее шифр входного  зыка, режим работы и информацию дл  восстановлени  прерванного процесса трансл ции .From the control panel with the help of block 3 of communication with a digital computer, a connection is established with digital computer 12. Once the connection is established, a service message is sent to the machine containing the input language cipher, operation mode and information for restoring the interrupted translation process.

Устройство работает в двух режимах работы: режиме начала трансл ции, когда программа не имеет ни одного ранее оттранслированного блока, и в режиме продолжеии  трансл ции, когда программа траислируетс  поэтапно. В первом режиме работы информаци  дл  восстановлени  трансл ции может отсутствовать .The device operates in two modes of operation: the mode of the start of translation, when the program does not have any previously translated blocks, and in the mode of continuation of translation, when the program is allocated in stages. In the first mode of operation, information to restore the broadcast may be missing.

Собственно, процесс транслировани  в системе устройство - ЦВМ разбиваетс  на два этапа: транслирование с алгоритмического  зыка на  зык базисной машины и транслирование с  зыка базисной машины на  зык реальной вычислительной машины. Под  зыком базисной машины понимаетс  система команд абстрактной вычислительной машины, в которой отдельным конструкци м или операци м алгоритмического  зыка соответствуют определенные коды ..Actually, the process of broadcasting in the system device - the digital computer is divided into two stages: the translation from the algorithmic language to the language of the base machine and the translation from the language of the base machine to the language of the real computer. The basic machine language is the command system of an abstract computer in which certain codes correspond to individual algorithmic constructions or operations.

После получени  служебного сообщени  ЦВМ 12 через блок 3 св зи с ЦВМ передает в регистр 4 код состо ни  устройства и информацню дл  блока подсветки 5. Код состо ни  передаетс  затем в регистр состо ний 6. Вместе с кодом состо ни  ЦВМ выдает сигнал, разрешающий работу дешифратора состо ний 9. Дешифратор состо ний 9, расшифровав содержимое регистра состо ний 6, выдает сигнал в блок подсветки 5. Блок подсветки 5, в соответствии с информацией, содержащейс  в регистре 4, выполн ет подсветку определенных клавиш на панели управлени  либо определенных мест окошка.After receiving the overhead message, the DVR 12, via the communication unit with the DVR, transmits to the register 4 a device status code and information for the backlight unit 5. The status code is then transmitted to the status register 6. Together with the status code, the DVR issues a signal enabling the operation the state decoder 9. The state decoder 9, decrypting the contents of the state register 6, outputs a signal to the backlight unit 5. The lighting unit 5, according to the information contained in the register 4, performs the illumination of certain keys on the control panel or x window seats.

99

Например, в начале трансл ции подсвечены один или несколько символов, с которых может начинатьс  программа, написанна  на алгоритмическом  зыке, выбрана и нажата клавиша нужного символа. Блок хранени  символов  зыка 1 вырабатывает признак символа, вызываюшнй формирование в блоке 10 хранени  кодов операций базисной машины соответствующего кода, передаваемого в регистр 4. Кроме того, блок 1 вырабатывает код, измен ющий содержимое регистра состо ний б. После этого дешифратор состо ний 9 выдает сигнал в блок 3 св зи с ЦВМ. По этому сигналу содержимое регистра 4 через блок 3 св зи с ЦВМ передаетс  в ЦВМ, после чего устройство переходит в режим ожидани . По специальной программе, вход щей в состав математического обеспечеS ни  ЦВМ, производитс  анализ полученного сообщени  и выдаютс  возможные синтаксически правильные продолжени  набираемой программы , которые определ ют код состо ни  устройства и информацию дл  блока подсветки 5.For example, at the beginning of a translation, one or more characters are highlighted, from which a program written in an algorithmic language can begin, the key of the desired character is selected and pressed. The character storage unit of language 1 generates a character tag that causes the formation in operation 10 of the basic machine operation codes of the corresponding machine to be transferred to register 4. In addition, unit 1 generates a code that changes the contents of the state register b. After that, the state decoder 9 outputs a signal to the communication unit 3 with a digital computer. On this signal, the contents of register 4 are transmitted to the digital computer via unit 3 for communication with the digital computer, after which the device enters standby mode. A special program included in the mathematical software of a digital computer analyzes the received message and gives possible syntactically correct continuations of the program to be dialed, which determine the device status code and information for the backlight unit 5.

Разбиение оператора  зыка на команды про0 водитс  с помощ-ью блока выделени  команды i 1 и блока подсветки 5. В основу разбиени  положен метод графического дроблени  оператора на части.The division of the language operator into commands is carried out with the help of the selection block of the i 1 command and the backlight block 5. The partition is based on the method of graphically dividing the operator into parts.

Выделение команды производитс  следую5 щим образом.The selection of the command is as follows.

Под окошком на панели управлени  наход тс  р д неподвижных контактов и подвижный контакт, соединенные с блоком выделени  команды II. Провод  подвижным контактом по неподвижным, задают в блок И информа0 цию о том, в каком месте окошка выделена команда из блока 11. Эта информаци  поступает в регистр 4. Кроме того, блок выделени  команды 11 вырабатывает код, измеи ющий содержимое регистра состо ний 6. Дешифра-; тор состо ний 9, расшифровав содержимое Under the window on the control panel there are a series of fixed contacts and a movable contact connected to the selection unit of command II. A wire with a movable contact is fixed, it is set in block AND information about where the command from block 11 is selected in the window. This information goes to register 4. In addition, the command selection block 11 generates a code that changes the contents of the status register 6. Decryphra-; the torus of states 9 by deciphering the contents

S регистра состо ний 6, выдает сигнал в блок 3 св зи с ЦВМ. По этому сигналу, содержнмое регистра 4 через блок 3 св зи с ЦВМ передаетс  в ЦВМ, котора  после анализа полученного сообщени  вырабатывает код следующего S status register 6, generates a signal in block 3 of communication with a digital computer. By this signal, the contents of register 4 through block 3 of communication with a digital computer are transmitted to a digital computer, which, after analyzing the received message, generates the code of the next

0 состо ни  устройства и информацию дл  блока подсветки 5 и передает их через блок 3 св зи с ЦВМ в регистр 4. Начинает работу дешифратор состо ний 9.0 device states and information for the backlight unit 5 and transmits them through the communication unit 3 with the digital computer to the register 4. The state decoder 9 starts its operation.

После выделени  команды подсвечены клавиши тех идентификаторов, которые согласно After selecting the command, the keys of those identifiers are highlighted, which, according to

5 их описани м могут принимать участие в наборе команды. При нажатии на клавишу иужного идентификатора в регистр 4 .из блока хранени  адресов идентификаторов 2 поступает адрес, соответствующий данному идентифи0 катору, и вырабатываетс  код, передаваемый5 of their descriptions can take part in the recruitment team. When pressing the key of the identifier, the register 4. From the block of storage of the addresses of identifiers 2, the address corresponding to the given identifier is received, and the code transmitted is generated

SU752322555A 1975-12-24 1975-12-24 Program relaying arrangement SU610113A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU752322555A SU610113A1 (en) 1975-12-24 1975-12-24 Program relaying arrangement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU752322555A SU610113A1 (en) 1975-12-24 1975-12-24 Program relaying arrangement

Publications (1)

Publication Number Publication Date
SU610113A1 true SU610113A1 (en) 1978-06-05

Family

ID=20648275

Family Applications (1)

Application Number Title Priority Date Filing Date
SU752322555A SU610113A1 (en) 1975-12-24 1975-12-24 Program relaying arrangement

Country Status (1)

Country Link
SU (1) SU610113A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633308A (en) * 2015-05-01 2018-10-09 Arm 有限公司 System and method at least one host command that the customer instruction of Client Architecture is converted to host framework

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633308A (en) * 2015-05-01 2018-10-09 Arm 有限公司 System and method at least one host command that the customer instruction of Client Architecture is converted to host framework
CN108633308B (en) * 2015-05-01 2021-12-24 Arm 有限公司 System and method for converting guest instructions to at least one host instruction

Similar Documents

Publication Publication Date Title
US4041469A (en) CRT key station which is responsive to centralized control
SU610113A1 (en) Program relaying arrangement
US6452606B1 (en) Method and apparatus for recording and reproducing computer pointer outputs and events
US3634882A (en) Machine-processing of symbolic data constituents
US3634950A (en) Electrical arrangement for use in teaching machine
JP2758617B2 (en) Keyboard for character string input
SU570907A1 (en) Device for recording information
SU970351A1 (en) Device for operating communication with control programs
KR920700426A (en) Method and apparatus for processing one or more signals through a single high speed input terminal of a microprocessor
SU469972A1 (en) Data processing system
SU429427A1 (en) PREFERRING TO DIGITAL COMPUTER MACHINES FOR SOLVING STATISTICAL PROBLEMS
JPS60233922A (en) Switch device
SU608151A1 (en) Device for interfacing digital computers
SU503239A1 (en) Control device
SU798837A1 (en) Processor control device
SU1406595A1 (en) Programmed controller processor
SU369561A1 (en) DEVICE FOR INPUT AND OUTPUT INFORMATION
JPS5739403A (en) Sequence control device
SU1029175A2 (en) Selector channel
JPS613229A (en) Data input device
JPS59153245A (en) Debugging device
SU419885A1 (en) TERMINAL DEVICE
SU1377857A2 (en) Channel simulator
SU1488804A2 (en) Channel simulator
SU777653A1 (en) Peripheral processor for telephonic switching system