SU1675898A2 - Microprocessor system - Google Patents

Microprocessor system Download PDF

Info

Publication number
SU1675898A2
SU1675898A2 SU894681475A SU4681475A SU1675898A2 SU 1675898 A2 SU1675898 A2 SU 1675898A2 SU 894681475 A SU894681475 A SU 894681475A SU 4681475 A SU4681475 A SU 4681475A SU 1675898 A2 SU1675898 A2 SU 1675898A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
microprocessor
signal
program
Prior art date
Application number
SU894681475A
Other languages
Russian (ru)
Inventor
Андрей Васильевич Тупица
Борис Григорьевич Шаров
Богдан Антонович Швед
Original Assignee
Предприятие П/Я В-8751
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 Предприятие П/Я В-8751 filed Critical Предприятие П/Я В-8751
Priority to SU894681475A priority Critical patent/SU1675898A2/en
Application granted granted Critical
Publication of SU1675898A2 publication Critical patent/SU1675898A2/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при создании вычислительных систем различного назначени . Цель изобретени  - сокращение емкости пам ти программ при наличии необходимости в зацикливании участков программ, Микропроцессорна  система содержит микропроцессор 1, запоминающее устройство 2, периферийное устройство 3, второй формирователь 5 сигналов Чтение - запись, содержащий элемент НЕ 16, первый 17 и второй 18 элементы И, первый формирователь 4 сигналов Чтение - запись, содержащий первый 19 и второй 20 элементы И, первый 21 и второй 22 элементы ИЛИ. Кроме того, система содержит первый 23, второй 24 и третий 25 регистры, схему 26 сравнени , сдвиговый регистр 27, элемент И 28, элемент ИЛИ-НЕ 29 Сущность изобретени  заключаетс  в том, что в предлагаемой микропроцессорной системе можно произвести заклинивание любого участка выполн емой программы, котора  хранитс  в запоминающем устройстве, не внос  при этом изменений в эту программу 1 ил. сл 00 юThe invention relates to computing and can be used to create computing systems for various purposes. The purpose of the invention is to reduce the program memory capacity when there is a need to loop program sections. The microprocessor system contains microprocessor 1, memory 2, peripheral device 3, second shaper 5 read-write signals containing the element HE 16, the first 17 and the second 18 elements AND , the first shaper 4 signals Read - write, containing the first 19 and second 20 elements AND, the first 21 and second 22 elements OR. In addition, the system contains the first 23, second 24 and third 25 registers, the comparison circuit 26, the shift register 27, the AND 28 element, the OR-NOT 29 element. The essence of the invention is that in the proposed microprocessor system it is possible to jam any portion of the performed the program that is stored in the memory device does not make any changes to this program 1 slug. sl 00 th

Description

Изобретение относитс  к вычислительной технике, может быть использовано при создании вычислительных систем различного назначени  и  вл етс  усовершенствованием технического решени  по авт. св. № 1172455.The invention relates to computing, can be used to create computing systems for various purposes, and is an improvement of the technical solution by author. St. No. 1172455.

Цель изобретени  - сокращение емкости пам ти программ при наличии необходимости в зацикливании участков программ.The purpose of the invention is to reduce the capacity of the program memory when there is a need to loop program sections.

Сущность изобретени  заключаетс  в том, что в микропроцессорной системе можно произвести зацикливание любого участка выполн емой программы, котора  хранитс  в запоминающем устройстве, не внос  при этом изменений в эту программу.The essence of the invention is that in the microprocessor system, it is possible to loop any part of the executed program that is stored in the memory device without making changes to this program.

На чертеже показана структурна  схема микропроцессорной системы.The drawing shows a block diagram of a microprocessor system.

Микропроцессорна  система содержит микропроцессор 1, запоминающее устрой- ства 2, периферийное устройство 3, первый блок 4 формировани  сигналов Чтение - запись, второй блок 5 формировани  сигналов Чтение - запись, информационный вход-выход 6 микропроцессора, адресный выход 7 микропроцессора, управл ющий выход 8 записи в периферийное устройство микропроцессора, управл ющий выход 9 записи в запоминающее устройство микропроцессора , управл ющий выход (0 считы- вани  из запоминающего устройства микропроцессора, управл ющий выход 11 считывани  из периферийного устройства микропроцессора , управл ющие входы записи 12 и считывани  13 в (из) запоминающее (го) ус- тройство (а) микропроцессора, управл ющие входы записи 14 и считывани  15 в (из) периферийное (го) устройство (а). Второй формирователь 5 сигналов Чтение - запись содержит элемент НЕ 16,первый 17 и второй 18 элементы И, первый формирователь 4 сигналов Чтение - запись содержит первый 19 и второй 20 элементы И, первый 21 и второй 22 элементы ИЛИ. Кроме того, система содержит первый 23, аторой 24 и третий 25 регистры, схему 26 сравнени , сдвиговый регистр 27, элемент И 28, элемент ИЛИ-НЕ 29, вход 30 признака режима зацикливани  программы, вход 31 задани  адреса зацикливающего участка програм- мы, информационные входы 32-34.The microprocessor system contains a microprocessor 1, a storage device 2, a peripheral device 3, the first signal-generating unit 4 Read-write, the second signal-shaping unit 5 Read-write, information input-output 6 of the microprocessor, address output 7 of the microprocessor, control output 8 write to the microprocessor peripheral device, controlling the output 9 of the record to the microprocessor's memory, controlling the output (0 reading from the microprocessor's memory, controlling the output 11 of the microprocessor) From the microprocessor peripheral device, the control inputs of the write 12 and read 13 to (from) the memory device (a) of the microprocessor, the control inputs of the write 14 and read 15 to (from) the peripheral device (a). The second shaper 5 signals Read - write contains the element NOT 16, the first 17 and second 18 elements And, the first shaper 4 signals Read - write contains the first 19 and second 20 elements And, the first 21 and second 22 elements OR. In addition, the system contains the first 23, ator 24, and third 25 registers, the comparison circuit 26, the shift register 27, the AND 28 element, the OR-NOT 29 element, the input 30 sign of the program looping mode, the input 31 specifying the address of the looping program section, information inputs 32-34.

Микропроцессорна  система работает следующим образом. При наличии сигнала Лог. О на входе 30 микропроцессор 1 выполн ет программу, записанную в заломи- нающее устройство 2. При выполнении рабочей программы в силу различных причин может возникнуть нештатна  ситуаци . Дл  ее локализации и устранени  необходимо произвести зацикливание программы наThe microprocessor system works as follows. In the presence of a signal Log. At the input 30, the microprocessor 1 executes the program recorded in the wiring device 2. When executing the working program, for various reasons, an abnormal situation may occur. To localize and eliminate it, it is necessary to loop the program on

Claims (1)

том участке, выполнение которого приводит к нештатной ситуации. Зацикливание участка программы можно осуществить с помощью трехбайтной команды безусловного перехода. Эта команда возвращает процессор на повторное выполнение участка программы , начина  с адреса, который указываетс  во втором и третьем байтах команды . На вход 32 микропроцессорной системы подаетс  код команды безусловного перехода, на входы 33 и 32 - старший и младший байты адреса перехода, на вход 31 - код последнего адреса зацикливаемого участка программы. При наличии сигнала Лог. 1 на входе 30 микропроцессорной системы и сигнала Чтение запоминающего устройства на выходе 10 микропроцессора 1, информаци  с входов 34, 33 и 32 записываетс  соответственно в регистры 23, 24 и 25. Когда в ходе заполнени  программы происходит совпадение кода, выставленного на адресном выходе 7 микропроцессора 1, с кодом адреса, который находитс  на входе 31 системы, на выходе схемы 26 сравнени  по вл етс  сигнал Лог. 1, который по переднему фронту сигнала Чтение записываетс  в первый разр д регистра 27, предварительно установленного в нулевое состо ние (цепи начальной установки на чертеже не показаны), через элемент ИЛИ-НЕ 29 сигнал Лог.1 с первого выхода регистра 27 запрещает прохождение сигнала Чтение через элемент И 18 на вход 13 считывани  запоминающего устройства 2 и разрешает выдачу кода команды безусловного перехода с регистра 23 на информационный вход-выход 6 процессора 1. Выполнение последующих циклов чтени , которые осуществл ютс  процессорами 1 при выполнении команды безусловного перехода, приводит к последовательному сдвигу Лог. 1 во второй и третий разр ды сдвигового регистра 27, что в свою очередь сопровождаетс  выдачей на информационный вход- выход 6 младшего и старшего байтов адреса перехода из регистров 24 и 25. При выдаче информации из регистров 24 и 25 на информационный вход-выход в процессоре 1 подача сигнала Чтение на вход считывани  13 запоминающего устройства 2 блокируетс  сигналом с выхода элемента ИЛИ-НЕ 29, Формула изобретени  Микропроцессорна  система по авт. св. Ms 1172455, отличающа с  тем, что, с целью сокращени  емкости пам ти программ при наличии необходимости в зацик- ливании участков программ, она дополнительно содержит три регистра, сдвиговый регистр, схему сравнени , элемент И и элемент ИЛ И-НЕ, выход которого соединен с третьим входом второго элемента И второго формировател  сигналов Чтение - запись, с первого по третий входы элемента ИЛИ-НЕ соединены соответственно с первого по третий выходами сдвигового регистра и входами управлени  считыванием с первого по третий регистров, входы записи которых соединены с выходом элемента И, стробирующим входом схемы сравнени  и синхровходом сдвигового регистра, информационный вход которого соединен с выходом схемы сравнени , первый и второй информационные входы которой подключе0the site, the implementation of which leads to an emergency situation. Looping of the program section can be accomplished using a three-byte unconditional branch command. This command returns the processor to rerun the program section, starting at the address specified in the second and third bytes of the command. At the input 32 of the microprocessor system, the code of the unconditional branch command is given, at the inputs 33 and 32, the high and low bytes of the transition address, at input 31, the code of the last address of the looped program section. In the presence of a signal Log. 1 at input 30 of microprocessor system and signal Read memory device at output 10 of microprocessor 1, information from inputs 34, 33 and 32 is written to registers 23, 24 and 25 respectively. When the program is filled, the code set at address output 7 of the microprocessor coincides 1, with the address code which is located at the input 31 of the system, a Log signal appears at the output of the comparison circuit 26. 1, which is on the leading edge of the signal Read is written to the first digit of the register 27, previously set to the zero state (the initial installation circuit is not shown in the drawing), through the OR-NOT 29 element Log.1 signal from the first output of the register 27 prohibits the passage of the signal Reading through the element 18 on the input 13 of the readout of the storage device 2 and allows the issuance of the code of the unconditional transfer command code from the register 23 to the information input-output 6 of the processor 1. The following reading cycles are performed, which are performed by the processors 1 when executing an unconditional jump command, results in a sequential shift of the log. 1 to the second and third bits of the shift register 27, which in turn is accompanied by issuing 6 junior and senior bytes of the transition address from registers 24 and 25 to the information input / output. When issuing information from registers 24 and 25 to the information input / output in the processor 1 signal supply Reading to the read input 13 of the storage device 2 is blocked by a signal from the output of the element OR NOT 29, the claims of the invention. Microprocessor system according to the author. St. Ms 1172455, characterized in that, in order to reduce the memory capacity of programs when there is a need for looping program sections, it additionally contains three registers, a shift register, a comparison circuit, an AND element and an IL-AND-NOT element whose output is connected with the third input of the second element AND the second signal conditioner Read - write, the first to the third inputs of the OR-NOT element are connected respectively to the first to the third outputs of the shift register and the read control inputs from the first to third registers, write inputs which are connected to the output of the element I, the gate input of the comparison circuit and the synchronous input of the shift register, the information input of which is connected to the output of the comparison circuit, the first and second information inputs of which are connected 5five ны соответственно к входу задани  адреса зацикливаемого участка программы системы и к адресному выходу микропроцессора, управл ющий выход считыванием из запоминающего устройства которого соединен с первым входом элемента И, второй вход которого подключен к входу признака режима зацикливани  участка программы системы, выходы с первого по третий регистров подключены к информационному входу-выходу микропроцессора, с первого по третий информационные входы системы подключены к информационным входам соответственно с первого по третий регистров.Here, respectively, to the input of setting the address of the looped section of the system program and to the address output of the microprocessor, which controls the readout output from the storage device of which is connected to the first input of the And element, the second input of which is connected to the input of the looping mode feature of the system section, connected to the information input / output of the microprocessor, the first to the third information inputs of the system are connected to the information inputs from the first to the third registers.
SU894681475A 1989-04-18 1989-04-18 Microprocessor system SU1675898A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894681475A SU1675898A2 (en) 1989-04-18 1989-04-18 Microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894681475A SU1675898A2 (en) 1989-04-18 1989-04-18 Microprocessor system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1172455A Addition SU243003A1 (en)

Publications (1)

Publication Number Publication Date
SU1675898A2 true SU1675898A2 (en) 1991-09-07

Family

ID=21442923

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894681475A SU1675898A2 (en) 1989-04-18 1989-04-18 Microprocessor system

Country Status (1)

Country Link
SU (1) SU1675898A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Nfe 1172455, кл. G 06 F 15/00, 15/76, 1981. *

Similar Documents

Publication Publication Date Title
JPH045216B2 (en)
SU1541619A1 (en) Device for shaping address
US4047245A (en) Indirect memory addressing
SU1675898A2 (en) Microprocessor system
US5619714A (en) Microcomputer having an instruction decoder with a fixed area and a rewritable area
SU1564620A2 (en) Device for control of microprocessor system
JPS5764396A (en) Multi-processor
SU840904A1 (en) Microprogramme-control device
SU1142822A1 (en) Timer
SU1674137A1 (en) Data and programs storage control unit
JPS5699550A (en) Information processing unit
CA1317384C (en) Buffer control circuit for data processor
SU1124316A1 (en) Microcomputer
SU1442990A1 (en) Memory addressing device
JPS59189435A (en) Data transfer control device
SU1083194A1 (en) Device for debugging programs
JPS628235A (en) Storage device for activity log
SU1432495A1 (en) Information output device
SU1693610A2 (en) Device for microprocessor checking
SU1654871A1 (en) Storage device for microprocessor computing systems
SU1711168A1 (en) Program run-time monitor
SU1552189A1 (en) Device for monitoring programs
JPS5812034A (en) Information processor
RU94044779A (en) Program-control time setting device
SU1198523A1 (en) Device for checking integrated circuits