SU557364A1 - Device for correcting basic registers with stack allocation of memory - Google Patents

Device for correcting basic registers with stack allocation of memory

Info

Publication number
SU557364A1
SU557364A1 SU2347285A SU2347285A SU557364A1 SU 557364 A1 SU557364 A1 SU 557364A1 SU 2347285 A SU2347285 A SU 2347285A SU 2347285 A SU2347285 A SU 2347285A SU 557364 A1 SU557364 A1 SU 557364A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
address
indicator
level
memory
Prior art date
Application number
SU2347285A
Other languages
Russian (ru)
Inventor
Борис Арташесович Бабаян
Юлий Хананович Сахин
Геннадий Федорович Типалин
Владимир Александрович Крыленко
Евгений Александрович Петрушин
Original Assignee
Предприятие П/Я А-3162
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 Предприятие П/Я А-3162 filed Critical Предприятие П/Я А-3162
Priority to SU2347285A priority Critical patent/SU557364A1/en
Application granted granted Critical
Publication of SU557364A1 publication Critical patent/SU557364A1/en

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

1one

Изобретение относитс  к вычислительвой технике.The invention relates to a computing technique.

Известно устройство дл  изменени  ад- ресов в стековой пам ти, соцержавдее регистры пртаема, выдачи, ацреса, блок управлени  и арифь етический блок 1.A device is known for changing addresses in a stack memory, in addition to prtaema, output, acres registers, control unit and arithmetic unit 1.

Недостатком известного устройства  вл етс  больша  сложность и невысокое быстродействие .A disadvantage of the known device is the great complexity and low speed.

Наиболее близким техническим решением к Предложенному изобретению  вл етс  устройство дл  коррекции базовых регистров при стековом распределении пам ти, содержащее регистр приема, блок формировани  св зующей информадии, блок формировани  програм мной информации, блок управлени , арифметический блок, блок базовых регистров, ре Гистр выдачи, регистр адреса, вход которого соединен с выходом .арифметического блока , а выход подключен к выходным адрес- вым шинам устройства, вход регистра приема соединен со входными информационными шинами устройства, входы блока формирова- .ни  св зующей информации подключены к вы ходам регистра приема, арифметического The closest technical solution to the Proposed invention is a device for correcting basic registers in case of stack allocation of memory, comprising a receive register, a communication information generation unit, a program information generation unit, a control unit, an arithmetic unit, a basic register unit, the issuance register, the address register, the input of which is connected to the output of the arithmetic unit, and the output is connected to the output address buses of the device, the input of the reception register is connected to the input information bus the device, the inputs of the block forming the .and related information are connected to the outputs of the receive register, the arithmetic

блока и блока формировани  программной информации, входы которого соединены с выходами регистра приема и арифметического блоки, входы которого соединены с выходами блока базовых регистров и блока формировани  программной информации, входы блока базовых регистров соединены с выходом регистра приема и выходом блока формировани  программной информации, вход регистра выдачи соединен с выходом блока формировани  св зующей информации, а выход - с выходными информационньтми шинами устройства, входы блока управлени  соединены со входными управл ющими ши ками устройства и управл ющим выходом блока базовых регистров, а выходы - с управл ющими входами арифметического блока , блока формировани  программной информации , блока формировани  св зующей информации, блока базовых регистров, регистра приема, регистра выдачи-и регистра адреса.block and block forming software information, the inputs of which are connected to the outputs of the reception register and arithmetic blocks, inputs of which are connected to the outputs of the block of basic registers and the generating unit of program information, the inputs of the block of basic registers connected to the output of the reception register and the output of the block forming software information, input of the register the output is connected to the output of the communication information forming unit, and the output is connected to the output information buses of the device; the inputs of the control unit are connected to the input device control bars and the control output of the base register unit, and outputs with the control inputs of the arithmetic unit, program information generation unit, communication information generation unit, base register unit, reception register, issuance register and address register.

Claims (1)

Недостатком известного устройства  вл етс  низкое бьтстродействие при коррек ции базовьтх регистров адреса. Цель изобретени  - повышение быстродействи  устройства. Поставленна  цель достигаетс  тем, что в устройство введены пам ть состо ни  отображени  статической пепочки, дешифратор , входной и выходной коммутаторы, причем выход блока формировани  программной информации через последовательно соединенHbie дешифратор, пам ти состо ни  отображени  статической цепочки и выходной коммз татор соединен со входом блока управлени , вход пам ти состо ни  отображени  стйтической цепочки через входной коммутатор соединен со входом устройства, вход выходного коммутатора соединен с управл ющим выходом блока базовых регистров . На чертеже представлена схема устройства . Устройство содержит регистр 1 приема, блок 2 формировани  св зующей информации , блок 3 формировани  программной информации , блок 4 управлени , арифметический блок 5, блок 6 базовых регистров, регистр 7 выдачи, регистр 8 адреса, выходной коммутатор 9, пам ть 10 состо ни  отображени  статической цепочки, дешифратор 11, входной коммутатор 12, входные информационные шины 13, управл ющие входные шины 14, выходные информационные шины 15, выходные адресные шины 16 Работа устройства при коррекции статической цепочки происходит следующим образом. На основании кода операции и управл ютцега слова, поступивших соответственно на управл ющие и информационные входные шины 13 и 14 устройства, выбираетс  соответствукмдий базовый регистр в блоке 6 и индикатор пам ти 10. Номер регистра и индикатора равен уровню запускаемой про граммы. В базовом регистре записываетс  адрес, содержащийс  в Указателе Маркёра стека, а в индикатор через коммутатор 12 записываетс  О. Номер уровн  уменьшаетс  на счётчике номера уровн  в блоке 6 на 1 считываетс  содержимое №-1-го базового регистра и сравниваетс  с адресом, содержащимс  в управл клдем слове в блоке 6. В М9-.1-й индикатор записываетс  1. На ко мутатор 9 поступают сигнал сравнени  адресов из блока 6, сигнал сравнени  номера уровн  запускающей подпрограммы и содержимого счетчика номера уровн , а также содержимое индикатора. При наличии сигна ла совпадени  адресов и сигнала о том, что содержимое счетчика номера уровн  меньше номера уровн  запускающей процедуры из блока б, процесс коррекции пре кращаетс . Если содержимое счетчика номе а уровн  оказываетс  больше, то оно оп ть меньшаетс  на 1 и по полученному адресу прашиваетс   чейка индикатора. Если в ней аписана 1, то происходит снова уменьшение четчика и опрос индикатора до тех пор, пока содержимое счетчика не станет равно номеру уровн  запускающей подпрограммы. Тогда по содержимому регистра отображени  предыдущего уровн  через регистр 8 запрашиваетс  Маркер стека охватывающей подпрограммы . После приема на регистр 1 Маркера стека базовый адрес из него переписываетс  в базовый . регистр уровн  запускающей процедуры, а в индикатор этого же уровн  через коммутатор 12 записываетс . По этому же адресу запрашиваетс  Маркер стека запускак цей процедуры. После приема базовый адрес из Маркера стека сравниваетс  в блоке 6 с содержимым базового ре- гистра. При сравнении процесс коррекции оканчиваетс . Таким образом, после окончани  коррекции в пам ти Ю запускаемый Зфовень помечен О, а остальные уровни статической цепочки помечены 1. Единица в i -ом уровне говорит о том, что i +1-ый уровень согласован с } -м уровнем, т.е. эти уровни лежат на одной ветви дерева статических цепочек задачи. Поэтому достаточно проверить содержимое индикаторов между уровн ми запускающей и запускаемой подпрограмм , Ноль в индикаторе I -го ypoBw н  означает, что i -и и +1-Л уровни могут быть не согласованы, поэтому при равенстве индикатора О происходит запрос за Маркером стека, запись в соответствующий базовый регистр и индикатор соответственно адреса и 1, Далее коррекци  происходит вышеописанным способом, Предложенное устройство дл  управлени  коррекцией базовых регистров при стековом распределении пам ти позвол ет провести анализ состо ни  базовых регистров и обнаружить среди них те, которые содержат нужную информацию и не подлежат коррекиии . Благодар  этому уменьшаетс  число обращений в оперативную пам ть за информацией на величину, равную количеству базовых регистров, не подлежащих коррекции, т.е. сокращаетс  врем  на выполнение коррекции и повышаетс  быстродействие устройства . Кроме того, происходит разгрузка очереди обращений в оперативную пам ть. В результате повышаетс  производительность по сравнению с известными устройствами. Формула изобретени  Устройство дл  коррекции базовых ре гистров при стековом распределении пам A disadvantage of the known device is its low response rate when correcting the base address registers. The purpose of the invention is to increase the speed of the device. The goal is achieved by introducing a static peppish display state memory, a decoder, input and output switches into the device, with the output of the program information generating unit through the serial decoder, the display state of the static chain and the output compressor connected to the input of the unit control, the memory of the display of the status of the stetic chain through the input switch is connected to the input of the device, the input of the output switch is connected to the control output of the block base registers. The drawing shows a diagram of the device. The device contains a reception register 1, a communication information generation unit 2, a program information generation unit 3, a control unit 4, an arithmetic unit 5, a base register unit 6, a output register 7, an address register 8, an output switch 9, a display state memory 10 static chain, descrambler 11, input switch 12, input information buses 13, control input buses 14, output information buses 15, output address buses 16 The device operates during static chain correction as follows. Based on the operation code and the control word, received respectively on the control and information input buses 13 and 14 of the device, the corresponding base register is selected in block 6 and the memory indicator 10. The register and indicator number is equal to the level of the program to be started. The base register is written to the address contained in the Stack Token Index, and to the indicator through the switch 12 is written O. The level number is decremented on the level number counter in block 6 by 1, the contents of the N-1st base register are read and compared with the address contained in the control A word is stored in block 6. The M9-.1th indicator is recorded 1. Coordinator 9 receives the address comparison signal from block 6, the level number comparison signal of the triggering subroutine and the contents of the level number counter, as well as the content of the indicator. If there is an address matching signal and a signal that the contents of the level number counter is less than the level number of the triggering procedure from block b, the correction process stops. If the contents of the counter of the number and the level turn out to be more, then it is again reduced by 1 and the indicator cell is requested at the received address. If it contains 1, then the caterer decreases again and the indicator is polled until the contents of the counter are equal to the level number of the triggering subroutine. Then, using the contents of the previous display register register, through register 8, the stack marker of the covering subroutine is requested. After receiving the stack marker on register 1, the base address from it is rewritten to the base address. the level register of the triggering procedure, and in the indicator of the same level through the switch 12 is recorded. The same address is requested to start the stack marker procedure. After receiving the base address from the stack marker, it is compared in block 6 with the contents of the base register. When comparing, the correction process ends. Thus, after the end of the correction in the memory of U, the runner is marked O, and the remaining levels of the static chain are marked 1. The unit in the i-th level indicates that the i + 1-th level is matched with the} th level, i.e. . These levels lie on one branch of the tree of static chains of the problem. Therefore, it is enough to check the contents of the indicators between the levels of the starting and starting subroutines, Zero in the indicator of the I -th ypoBw n means that the i -and and + 1-L levels may not be consistent, therefore, if the indicator O is equal, the query follows the stack marker, writing To the corresponding base register and the indicator of the address and 1, respectively. Further, the correction is performed as described above. The proposed device for controlling the correction of the base registers during the stack allocation of memory allows the analysis of the state zovyh register and find among them those that contain the necessary information and are not subject-compensation. Due to this, the number of calls to the operational memory for information is reduced by an amount equal to the number of base registers that are not subject to correction, i.e. the time for performing the correction is shortened and the speed of the device is improved. In addition, the queue is unloaded into the operative memory. As a result, performance is improved compared with known devices. The invention of the device for the correction of basic registers with stack allocation of memory
SU2347285A 1976-04-15 1976-04-15 Device for correcting basic registers with stack allocation of memory SU557364A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU2347285A SU557364A1 (en) 1976-04-15 1976-04-15 Device for correcting basic registers with stack allocation of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU2347285A SU557364A1 (en) 1976-04-15 1976-04-15 Device for correcting basic registers with stack allocation of memory

Publications (1)

Publication Number Publication Date
SU557364A1 true SU557364A1 (en) 1977-05-05

Family

ID=20656776

Family Applications (1)

Application Number Title Priority Date Filing Date
SU2347285A SU557364A1 (en) 1976-04-15 1976-04-15 Device for correcting basic registers with stack allocation of memory

Country Status (1)

Country Link
SU (1) SU557364A1 (en)

Similar Documents

Publication Publication Date Title
US3303477A (en) Apparatus for forming effective memory addresses
US3889243A (en) Stack mechanism for a data processor
RU96118491A (en) DEVICE AND METHOD OF DATA PROCESSING USING TEAM SETS
US4308581A (en) Single step system for a microcomputer
JPS6436336A (en) Calculator system
US4079447A (en) Stored program electronic computer
US3297998A (en) List control
US4047245A (en) Indirect memory addressing
US4093983A (en) Fast and normal rate instruction fetching
SU557364A1 (en) Device for correcting basic registers with stack allocation of memory
KR920007028B1 (en) Output comparing system and method of automatically controlling multiple outputs in a data processor
US5617543A (en) Non-arithmetical circular buffer cell availability status indicator circuit
US4873628A (en) Command translating computer
US20040221141A1 (en) Method for managing a microprocessor stack for saving contextual data
JPH056281A (en) Information processor
SU987624A1 (en) Device for modification of addresses at program debugging
SU741269A1 (en) Microprogramme processor
SU652615A1 (en) Device for accessing rapid-access storage
SU894715A1 (en) Microprocessor
SU773624A1 (en) Processor with microprogram control and dynamic branching
JPS5725045A (en) Data processing equipment
JPS55159230A (en) Input processing system of character
SU407312A1 (en) PRIORITY DEVICE FOR PERFORMED
JPS5785148A (en) Instruction sequence control device
SU809206A1 (en) Device for searching data in memory