DE2902601A1 - PROCEDURE AND DATA PROCESSING SYSTEM FOR IMPLEMENTING AN COMMAND MODIFICATION - Google Patents

PROCEDURE AND DATA PROCESSING SYSTEM FOR IMPLEMENTING AN COMMAND MODIFICATION

Info

Publication number
DE2902601A1
DE2902601A1 DE19792902601 DE2902601A DE2902601A1 DE 2902601 A1 DE2902601 A1 DE 2902601A1 DE 19792902601 DE19792902601 DE 19792902601 DE 2902601 A DE2902601 A DE 2902601A DE 2902601 A1 DE2902601 A1 DE 2902601A1
Authority
DE
Germany
Prior art keywords
command
memory
data
circuit
instruction
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
DE19792902601
Other languages
German (de)
Inventor
Stephen L Dunik
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of DE2902601A1 publication Critical patent/DE2902601A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30189Instruction operation extension or modification according to execution mode, e.g. mode flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/322Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
    • G06F9/328Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for runtime instruction patching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Description

. 29Q26Q1. 29Q26Q1

ί - 4 -ί - 4 -

ιAnmelderin: International Business MachinesApplicant: International Business Machines

ι Corporation, Armonk, NY 10504ι Corporation, Armonk, NY 10504

I heb-omI heb-om

!Verfahren und Datenverarbeitungsanlage zur Durchführung ι einer befehlsmodifikation! Procedure and data processing system for implementation ι a command modification

Die Erfindung betrifft ein Verfahren und eine Datenverarbeitungsanlage zur Befehlsmodifikation und insbesondere ein Verfahren uund eine Anordnung, durch die jeder Teil eines Befehls in einer Datenverarbeitungsanlage vor seiner Durchführung modifiziert werden kann.The invention relates to a method and a data processing system for command modification and in particular a method and an arrangement by which each part of a Command can be modified in a data processing system before it is carried out.

Stand der TechnikState of the art

Bei modernen Datenverarbeitungsanlagen, insbesondere bei Kleinanlagen und Mikroprozessoren werden die Befehle normalerweise durch Festwertspeicher geliefert. Dadurch verliert man natürlich an Flexibilität im Vergleich mit speicherprogrammierten Anlagen, bei denen Befehle in ihrem Ablauf und in ihrem Operationscode verändert werden können.In modern data processing systems, especially in small systems and microprocessors, the commands are normally supplied by read-only memory. This of course means that you lose flexibility in comparison with stored-program programs Systems in which commands can be changed in their sequence and in their operation code.

Bisher hat man komplizierte Indexierverfahren und Anordnungen mit Indexregistern zur Überwindung dieser Schwierigkeiten verwendet. Normalerweise lassen sich solche Verfahren und Schaltungen nur auf einen Teil des gesamten Befehlsvorrats anwenden und/oder man hat nur eine begrenzte Anzahl von Indexregistern, die geladen und modifiziert werden müssen, oder man kann den Operationsteil des Befehls selbst nicht ändern.Heretofore, there have been complicated indexing methods and arrangements used with index registers to overcome these difficulties. Usually such procedures and Apply circuits only to a part of the entire instruction set and / or you only have a limited number of Index registers that need to be loaded and modified, or the operational part of the instruction itself cannot be used change.

Die Schaltung gemäß der US-Patentschrift 3 503 O46, die der Deutschen Patentanmeldung A 52 326 vom 30. April 1966 entspricht, offenbart eine Befehlsmodifikationsschaltung, die insofern noch nachteilig erscheint, als für die Indexierung im wesentlichen arithmetische Register benutzt werden. DiesThe circuit of US Pat. No. 3,503,046 issued to German patent application A 52 326 dated April 30, 1966, discloses an instruction modification circuit which This appears to be disadvantageous insofar as arithmetic registers are essentially used for indexing. this

909833/0588909833/0588

CA 977 004CA 977 004

.2SLQ26Q.1.2SLQ26Q.1

stellt eine wenig günstige einschränkende Bedingung dar, da zusätzliche Maschinenzyklen zum Laden der Register erforderlich sind. Außerdem werden Leerlauf-Maschinenzyklen für die Modifizierung des Befehls und weitere Zyklen für die Einstellung und Rückstellung einer bistabilen Kippschaltung für die gewünschte Modifizierung von Befehlen benötigt. In dieser Patentschrift ist nur eine Befehlsadreßmodifikation vorgesehen. is a less than favorable restrictive condition because additional machine cycles are required to load the registers are. There are also idle machine cycles for modification of the command and further cycles for setting and resetting a bistable trigger circuit for the desired one Modification of commands needed. Only one instruction address modification is provided in this patent.

Aufgabe der Erfindung ist es, eine weitere verbesserte Anordnung und ein weiter verbessertes Verfahren für die Modifizierung von Befehlen zu schaffen, ohne daß dazu zusätzliche Register und komplizierte Schaltungen erforderlich sind, während doch gleichzeitig praktisch jeder oder alle Befehle modifiziert werden können.The object of the invention is to provide a further improved arrangement and a further improved method for the modification of instructions without the need for additional registers and complicated circuitry while virtually any or all of the commands can be modified at the same time.

Wie bekannt, v/eisen moderne Datenverarbeitungsanlagen, insbesondere Kleinanlagen und Mikrocomputer eine Befehlsspeicherung durch Festwertspeicher auf, während die Datenspeicherung durch Verwendung von modifizierbaren Speichern, wie z. B. Speichern mit wahlfreiem Zugriff erreicht wird. Gemäß der vorliegenden Erfindung sind in einem Festwertspeicher (ROS) eingespeicherte Befehle durch aus einem frei adressierbaren Speicher abrufbare Daten modifizierbar. Dabei werden aus einem Festwertspeicher ein Befehl und aus einem frei adressierbaren Speicher Daten abgerufen, und wenn eine Indexiertorschaltung aufgetastet ist, werden der Befehl und die Daten in einer Addierschaltung miteinander kombiniert. Am Ausgang der Addierschaltung tritt dann der modifizierte Befehl auf. Mit dieser einfachen Anordnung kann der Befehlsvorrat des Festwertspeichers in vielfacher Weise modifiziert werden, wobei die Beschränkung lediglich in der Kapazität des frei adressierbaren Speichers liegt. Man kann also durch einen geringfügigen zusätzlichen Schaltungsaufwand eine sehr große Vielseitigkeit erreichen.As is known, modern data processing systems, in particular Small systems and microcomputers store instructions by means of read-only memories, while data storage by using modifiable memories such as B. Saving with random access is achieved. According to the The present invention are commands stored in a read-only memory (ROS) by means of a freely addressable Memory retrievable data can be modified. Thereby are made a read-only memory a command and from a freely addressable memory fetched data, and if an indexing gate is keyed, the command and the Data combined in an adder circuit. The modified command then appears at the output of the adder circuit on. With this simple arrangement, the instruction set of the read-only memory can be modified in many ways The only limitation is the capacity of the freely addressable memory. So you can achieve a very high level of versatility by adding a little additional circuitry.

$09033/0606$ 09033/0606

CA 977 004CA 977 004

— b —- b -

Somit werden gemäß der Erfindung ein Verfahren und eine Anj Ordnung für die Modifizierung von Befehlen in Datenver-1arbeitungsanlagen geschaffen, die mindestens zwei Speicher .aufweisen.Thus, the invention provides a method and a Anj be established order for the modification of instructions in data encryption processing systems 1 according to the .aufweisen at least two memory.

:Ein erster dieser Speicher, der normalerweise ein Festwert- :speicher ist, wird für einen selektiven Zugriff zur gespeicherten Information adressiert. Der adressierte und aus 'dem ersten Speicher abgerufene Befehl wird dann einer Belfehlsmodifizierschaltung zugeleitet, die eine Addierstufe I enthalten kann. Dann werden Daten in einem anderen Speicher, 'der gewöhnlich ein Speicher mit wahlfreiem Zugriff ist, gemäß ;einem aus dem ersten Speicher während eines vorhergehenden Verarbeitungszyklus, möglichst dem unmittelbar vorhergehenden Verarbeitungszyklus aufgenommenen Befehl adressiert. Die so adressierten Daten werden einer Befehls-Modifiziertorschaltung zugeleitet, die selektiv ansteuerbar ist, so daß ebenfalls selektiv diese adressierten Daten an die Befehls-Modifizierschaltung abgegeben v/erden können. Die von der Modifizierschaltung aufgenommenen Daten und der abgerufene Befehl werden dann in der Befehls-Modifizierschaltung miteinander kombiniert und liefern einen modifizierten Befehl an die Datenverarbeitungsanlage für eine Verwendung durch diese Anlage in im wesentlichen der gleichen Weise wie ein unmodifizierter Befehl.: A first of these memories, which is normally a read-only memory: is stored for selective access Information addressed. The command addressed and fetched from the first memory then becomes an error modifying circuit fed to an adder I can contain. Then data is stored in another memory, which is usually random access memory, according to ; one from the first memory during a previous one Processing cycle, if possible addressed to the command recorded immediately preceding processing cycle. the so addressed data are fed to a command modifier circuit which is selectively controllable so that can also selectively output this addressed data to the command modification circuit. The one from the The data recorded in the modification circuit and the command fetched are then combined in the command modification circuit combines and provides a modified command to the data processing system for use by it Plant in essentially the same way as an unmodified one Command.

Man sieht sofort, daß man dadurch einen wesentlich erweiterten Befehlsvorrat erzielt.You can see immediately that this results in a considerably expanded set of instructions.

Die Erfindung wird nunmehr anhand eines Ausführungsbeispiels in Verbindung mit den beigefügten Zeichnungen im einzelnen erläutert.The invention is now based on an exemplary embodiment explained in detail in conjunction with the accompanying drawings.

In den Zeichnungen zeigt
Fig. 1 ein Blockschaltbild einer Datenverarbeitungs- j
In the drawings shows
1 shows a block diagram of a data processing unit

anlage gemäß dem Stande der Technik, auf diestate-of-the-art system to which

909835/0588909835/0588

CA 977 004CA 977 004

29Q26QJ29Q26QJ

— "7 —- "7 -

eine Befehlsmodifizierung gemäß der Erfindung angewendet wird,a command modification according to the invention is applied,

Fig. 2 ein Blockschaltbild einer Datenverarbeitungsanlage, die das Verfahren und die Anordnung gemäß der Erfindung benutzt, undFig. 2 is a block diagram of a data processing system, the method and the arrangement used according to the invention, and

Fig. 3 ein vereinfachtes Schaltbild einer Ausführungsform der vorliegenden Erfindung, wie sie in einer Datenverarbeitungsanlage eingesetzt wird.FIG. 3 is a simplified circuit diagram of an embodiment of the present invention as shown in FIG a data processing system is used.

Die in Fig. 1 dargestellte Datenverarbeitungsanlage des Standes der Technik enthält zwei Speicher, nämlich einen Befehlsspeicher 1 und einen Datenspeicher 2.The prior art data processing system shown in FIG. 1 contains two memories, namely an instruction memory 1 and a data memory 2.

Ein Befehl besteht dabei aus einem Operationsteil oder Operanden und einem Adreßteil, obgleich es auch Befehle mit zusätzlichen Feldern für besondere Zwecke gibt. Selbstverständlich läßt sich die Erfindung auch auf solche erweiterten Befehle anwenden.A command consists of an operation part or operand and an address part, although there are also commands additional fields for special purposes. Of course, the invention can also be extended to such Apply commands.

Jedem Speicher ist sein eigenes Adreßregister zugeordnet, das in bekannter Weise für eine selektive Adressierung und selektives Abrufen des Speicherinhalts durch verzweigung oder Fortschalten dient. Der Befehlsspeicher 1 wird durch ein Befehlsadressregister 3 (BAR) angesteuert, während der Datenspeicher 2 durch ein Datenadressregister 4 (DAR) angesteuert wird. Somit können Befehle oder Daten selektiv aus ihren jeweiligen Speichern abgerufen werden.Each memory is assigned its own address register, which is used in a known manner for selective addressing and selective retrieval of the memory content by branching or switching is used. The instruction memory 1 is through a Command address register 3 (BAR) controlled, while the data memory 2 is controlled by a data address register 4 (DAR) will. Thus, commands or data can be selectively retrieved from their respective memories.

Eine Verzweigungsleitung 5 gestattet die Verzweigung von Befehlen Innerhalb eines Programms, während die Leitung 6 der Abgabe von Befehlen aus dem Befehlsspeicher zum Einleiten eines Datenzugriffs im Datenspeicher 1 und anderer Befehlsabläufe dient. A branch line 5 permits the branching of commands within a program, while the line 6 is used to issue commands from the command memory to initiate data access in the data memory 1 and other command sequences .

909833/θΒδδ909833 / θΒδδ

CA 977 004CA 977 004

29Q260129Q2601

"■ 8 —"■ 8 -

Der am Ausgang des Befehlsspeichers 1 auftretende Befehl wird einem Operationsregister 7 zugeführt, das bei taktmäßiger Betätigung durch einen Taktimpuls den Befehl an einen Eingang 10 einer arithmetischen und logischen Einheit 8 (ALU) für eine Verarbeitung von Daten zuführt, die vom Datenspeicher 2 dem Eingang 11 der arithmetischen und logischen Einheit 8 und vom Ausgang 13 der ALU 8 über Akkumulator 9 dem Eingang 12 der ALU 8 zugeführt werden.The command appearing at the output of the command memory 1 is fed to an operation register 7, which at clock-wise Actuation by a clock pulse the command to an input 10 of an arithmetic and logic unit 8 (ALU) for a processing of data supplied from the data memory 2 to the input 11 of the arithmetic and logical Unit 8 and from output 13 of ALU 8 via accumulator 9 to input 12 of ALU 8.

Der Ausgang 14 des Akkumulators und der Eingang 12 der ALU sind in bekannter Weise an Eingabe/Ausgabe-Geräte angeschlossen. The output 14 of the accumulator and the input 12 of the ALU are connected to input / output devices in a known manner.

Ganz allgemein müssen in Datenverarbeitungsanlagen, wie sie beispielsweise in den Fign. 1,2 und 3 dargestellt sind, im System abgespeicherte Befehle aus einem Befehlsspeicher, wie dem hier gezeigten Befehlsspeicher 1 abgerufen, und auf in einem Datenspeicher, wie z. B. dem Datenspeicher 2 abgespeicherte und von diesem abgerufene Daten angewandt werden. In modernen Datenverarbeitungsanlagen, insbesondere bei Kleinanlagen und Mikrocomputern besteht der Befehlsspeicher aus einem Festwertspeicher, wobei diese Festwertspeicher entweder bereits bei der Herstellung mit diesen eingespeicherten Befehlen versehen werden, oder als sogenannte programmierbare Festwertspeicher (PROM) aufgebaut sind, die vor Einbau in eine Datenverarbeitungsanlage mit einer Folge von Befehlen programmiert werden.In general, in data processing systems, as shown, for example, in FIGS. 1, 2 and 3 are shown, commands stored in the system from a command memory, such as the command memory 1 shown here, and called up in a data memory, such as. B. the data memory 2 stored and retrieved from this data can be used. In modern data processing systems, especially in small systems and microcomputers, the instruction memory consists of a read-only memory, whereby these read-only memories are either provided with these stored commands during manufacture or are designed as so-called programmable read-only memories (PROM) that are equipped with a Sequence of commands can be programmed.

Sind diese Speicher einmal fest eingebaut, so ist es normaler weise wirtschaftlich nicht möglich, die Programmierung des PROM zu ändern oder den Befehlsspeicher auszutauschen, da die Ausfallzeiten nicht annehmbar wären. Once these memories are permanently installed, it is usually not economically feasible to change the programming of the PROM or to exchange the instruction memory , since the downtimes would not be acceptable.

In Systemen wie in Fig. 1 können die im Datenspeicher abgespeicherten Daten verändert werden. Dabei wird normalerweise entweder ein Speicher mit wahlfreiem Zugriff oder einIn systems such as in FIG. 1, the data stored in the data memory can be changed. This is usually done either a random access memory or a

909833/0505909833/0505

CA 977 004 CA 977 004

29Q26Q'29Q26Q '

Serienspeicher benutzt, wobei das Einfügen, Verändern oder Löschen von im Speicher liegenden Daten in dem System durch interne oder externe Eingangssignale durchführbar ist.Serial memory used, whereby the insertion, modification or deletion of data stored in the memory in the system by internal or external input signals can be carried out.

Ferner ist es allgemein bekannt, daß bei Datenverarbeitungsanlagen dieser Art normalerweise zwei Operationsphasen zyklisch durchgeführt werden, normalerweise nacheinander oder parallel oder beides. Diese Operationen sind einmal der Zugriff zu Befehlen oder der Befehlsabruf und dann die Anwendung von Befehlen oder die Durchführung von Befehlen mit Daten zur Erzielung des gewünschten Ergebnisses.It is also generally known that in data processing systems of this type, two surgical phases are usually performed in a cycle, usually one after the other or in parallel or both. These operations are access to commands or command fetching and then the application of commands or the execution of commands with data to achieve the desired result.

Es erscheint logisch, die Arbeitsweise einer Datenverarbeitung anlage mitten in einer Operation zu untersuchen.It seems logical to examine how a data processing system works in the middle of an operation.

Dabei soll zunächst der Befehlsabruf und dann die Befehlsdurchführung betrachtet werden. Während der nächstfolgende Befehl selektiv aus dem Befehlsspeicher als Festwertspeicher gemäß der im Befehlsadressregister 3 abgespeicherten Adresse abgerufen wird, werden im Verarbeitungszyklus der Anlage die im Datenspeicher 2 liegenden Daten entsprechend den im DAR 4 liegenden Adressen selektiv abgerufen und in der ALU mit vom Ausgang 14 des Akkumulators 9 zum Eingang 12 der ALU 8 zurückgeführten Daten kombiniert.First of all, the command call and then the command execution should be considered. During the next Command selectively from the command memory as read-only memory according to the address stored in the command address register 3 is called up, the data in the data memory 2 are stored in the processing cycle of the system in accordance with the data in the DAR 4 addresses located selectively and retrieved in the ALU with from the output 14 of the accumulator 9 to the input 12 of the ALU 8 combined data returned.

Nach Ablauf dieses Operationszyklus tritt am Ausgang 13 der ALU 8 ein Produkt der im Operationsregister 7 bezeichneten Operation mit den am Datenausgang des Datenspeichers 2 und am Ausgang 14 des Akkumulators 9 abgegebenen Daten auf. Das am Ausgang 13 auftretende Ausgangssignal wird dann durch die Datenverarbeitungsanlage in üblicher Weise in den Akkumulator 9 eingestellt.After this operating cycle has elapsed, the output 13 of ALU 8 is a product of the operation designated in the operation register 7 with the operation at the data output of the data memory 2 and at the output 14 of the accumulator 9 on data delivered. That output signal occurring at output 13 is then passed through the data processing system is set in the accumulator 9 in the usual manner.

"Anschließend wird das Befehlsadressregister 3 nach der Adresse des nächstfolgenden Befehls weitergeschaltet oder über die Verzweigungsleitung, wenn ein Versweigungsbefehl"Then the command address register 3 is switched on after the address of the next command or over the branch line when a branch command

CA 977 004CA 977 004

___„ 29Q260 ___ " 29Q260

auftreten soll, unmittelbar eingestellt. Das Datenadressregister 4 wird für die Adressierung des nächsten Datenwortes entsprechend der im vom Befehlsspeicher abgerufenen Befehl enthaltenden Adresskennzeichnung eingestellt.should occur immediately. The data address register 4 is used for addressing the next data word set according to the address identifier contained in the command fetched from the command memory.

Für eine Anwendung des Verfahrens und der Anordnung gemäß der Erfindung auf dieses dem Stande der Technik angehörende System werden eine Befehls-Modifizierschaltung/ eine Torschaltung und besondere Befehle, die anschließend Modifizierbefehle genannt werden, bereitgestellt, wie dies noch im einzelnen beschrieben wird.For an application of the method and the arrangement according to the invention to this belonging to the prior art System will be a command modifier / gate and special commands followed by modify commands are called, provided, as will be described in detail.

Anordnungen, die in ähnlicher Weise arbeiten wie das Blockschaltbild gemäß Fig. 1, werden mit ähnlichen Bezugszeichen versehen.Arrangements that work in a similar way to the block diagram according to FIG. 1, are provided with similar reference numerals.

Die in Fig. 2 dargestellte verbesserte Datenverarbeitungsanlage gemäß der Erfindung enthält mindestens zwei adressierbare Speicher (obgleich die Verwendung zusätzlicher Speicher für eine größere Vielseitigkeit ebenfalls betrachtet werden soll), von denen einer der Befehlsspeicher 1' und der andere der Datenspeicher 21 ist. Die Informationen in diesen Speichern sind selektiv über die entsprechenden Indexregister, nämlich das Befehlsadressregister 31 und das Datenadressregister 4' aufrufbar.The improved data processing system according to the invention shown in Fig. 2 includes at least two addressable memories (although the use of additional memories for greater versatility is also to be considered), one of which is the instruction memory 1 'and the other of which is the data memory 2 1 . The information in these memories can be called up selectively via the corresponding index registers, namely the command address register 3 1 and the data address register 4 '.

In diesem Ausführungsbeispiel besteht die Befehlsmodifizierschaltung aus einer Befehls-Modifizieraddierstufe (IMA) 15, obgleich andere Modifizierschaltungen, wie beispielsweise UND/ODER oder Exklusiv-ODER-Glieder usw., abhängig von den gewünschten Ergebnissen, benutzt werden können, wobei diese Addierstufe 15 an ihrem Eingang 16 mit vom Befehlsspeicher kommenden Befehlen angesteuert wird, während der Eingang 18 an der IMA-Torschaltung 17 angeschlossen ist.In this embodiment, there is the command modifying circuit from an instruction modification adder stage (IMA) 15, although other modifying circuits such as AND / OR or Exclusive-OR gates etc., depending on the desired results, can be used, this adder 15 at its input 16 with the instruction memory Coming commands is controlled while the input 18 is connected to the IMA gate circuit 17.

90Ö833/0B8890Ö833 / 0B88

CA 977~ÖO4CA 977 ~ ÖO4

29Q26Q<29Q26Q <

Daten werden der IMA-Torschaltung 17 aus dem Datenspeicher 2* zugeführt.Data are transferred to the IMA gate circuit 17 from the data memory 2 * fed.

Das am IMA 15 angeschlossene Operationsregister 71, die ALU 8* und der Akkumulator 91 haben die gleiche Aufgabe wie die entsprechenden Teile in Fig. 1. Die das Befehlsadressregister 31 und das Datenadressregister 4* verbindende Verzweigungsleitung 5* dient wie zuvor der Befehlsverzweigung. Eine Leitung 19 verbindet den Ausgang 20 der IMA 15 mit dem Datenadressregister 4', für einen selektiven Abruf von Daten aus den angeschlossenen Datenspeicher 2'. The operation register 7 1 connected to the IMA 15, the ALU 8 * and the accumulator 9 1 have the same function as the corresponding parts in FIG. 1. The branch line 5 * connecting the instruction address register 3 1 and the data address register 4 * is used as before for instruction branching . A line 19 connects the output 20 of the IMA 15 to the data address register 4 'for a selective retrieval of data from the connected data memory 2'.

Wie bereits erläutert, wird für die Anwendung des erfindungsgemäßen Verfahrens auf eine Datenverarbeitungsanlage ein besonderer Befehl vorzusehen sein, der als Modifikationsbefehl bezeichnet wird und der mit den üblichen anderen Befehlen zusammen im Befehlsspeicher 1' abgespeichert ist.As already explained, for the application of the invention Procedure on a data processing system, a special command must be provided, which is referred to as a modification command and which with the usual others Commands are stored together in the command memory 1 '.

In den hier am meisten betroffenen Datenverarbeitungsanlagen kann der Inhalt des BefehlsSpeichers 1 * nicht verändert werden, so daß der Speicherinhalt, die Befehle innerhalb des Befehlsspeichers 1' nicht verändert werden können. Der aus dem Befehlsspeicher 1' über das Befehlsadressregister 3' abgerufene Modifikationsbefehl arbeitet dabei wie jeder andere aus dem Speicher abgerufene Befehl bei der Durchführung von Operationen. Der Operandenteil und der Adressteil des Befehlecodes werden mehr oder weniger zur gleichen Zeit aus dem Befehlsspeicher 1' abgerufen, wie Daten gemäß der im Datenadreesregister 4* (d. h. der Adresse des zuvor über Leitung 19 aufgenommenen Befehls) aus dem Datenspeicher 2* abgerufen werden.In the data processing systems most affected here the content of the command memory 1 * cannot be changed so that the memory content, the commands within the command memory 1 'cannot be changed. Of the from the command memory 1 'via the command address register 3' The modification command called works like any other command called from the memory when executing Operations. The operand part and the address part of the Command codes are retrieved from the command memory 1 'more or less at the same time as data according to the im Data address register 4 * (i.e. the address of the previous Line 19 recorded command) can be retrieved from the data memory 2 *.

Vorausgesetzt, daß kein vorhergehender Modifikationsbefehl «ine Modifikation des derzeit betrachteten Modifikationsbefehls erfordert, wird dieser Befehl unmodifiziert Provided that no previous modification command requires a modification of the modification command currently under consideration, this command is unmodified

909833/0588909833/0588

CA 977 004 CA 977 004

__; .. 29026Q1__; .. 29026Q1

,durch IMA 15 hindurchgelassen (da die IMA-Torschaltung 17 nich jüber einen Impuls über die Impulsleitung 21 aufgetastet ist jund daher gesperrt bleibt)., allowed through IMA 15 (since the IMA gate circuit 17 is not j over a pulse on the pulse line 21 is gated jand therefore remains blocked).

j Wird das Operationsregister 71 durch einen Taktimpuls auf der ITaktleitung 22 betätigt, dann läuft der Modifikationsbefehl nach dem Eingang 10' der ALU 8 und stellt die ALU 81 auf die gewünschte Funktion ein. Am Eingang 11 der ALU 81 von dem !Datenspeicher 21 zugeführte Daten und zuvor verarbeitete Daten I aus dem Akkumulator 9·, die am ALU-Eingang 12' zugeführt !werden, werden dann gemäß dem am Eingang 10' aufgenommenen Operanden in der ALU 81 arithmetisch miteinander kombiniert.If the operation register 7 1 is actuated by a clock pulse on the IT clock line 22, the modification command runs to the input 10 'of the ALU 8 and sets the ALU 8 1 to the desired function. Data supplied to input 11 of ALU 8 1 from data memory 2 1 and previously processed data I from accumulator 9 which are supplied to ALU input 12 'are then stored in the ALU in accordance with the operand received at input 10' 8 1 arithmetically combined with one another.

Am Ende dieser Phase wird das am ALU-Ausgang 131 auftretende Ergebnis in den Akkumulator 91 eingestellt und damit an die Ausgabevorrichtungen (nicht gezeigt) weitergegeben.At the end of this phase, the result appearing at the ALU output 13 1 is set in the accumulator 9 1 and thus passed on to the output devices (not shown).

Am Ende dieser Operationsphase wird das BAR 3' durch einen Taktimpuls fortgeschaltet und der Adressteil des vorerwähnten Modifikationsbefehls läuft in DAR 4' ein.At the end of this operating phase, the BAR 3 'is replaced by a Clock pulse advanced and the address part of the aforementioned modification command enters DAR 4 '.

Während der nächsten Operationsphase wird in üblicher Weise 'gemäß der im BAR 31 abgespeicherten Adresse der nächstfolgende Befehl aus dem Befehlsspeicher 11 abgerufen, während praktisch zur gleichen Zeit Daten aus dem Datenspeicher 21 über eine Adresse abgerufen werden, die aus dem Adressteil eines vorhergehenden Befehls in DAR 41 erhalten wurde, d. h. in diesem Fall aus dem Modifikationsbefehl.During the next operational phase, the next command from the command memory 1 1 is called up in the usual way according to the address stored in the BAR 3 1 , while practically at the same time data is called up from the data memory 2 1 via an address that comes from the address part of a previous one Instruction in DAR 4 1 , ie in this case from the modification instruction.

Bei dem erfindungsgemäßen Verfahren werden die Daten aus ; dem Datenspeicher 21 durch die IMA-Torschaltung 17 nur dann durchgelassen, wenn ein Modifikationsbefehl zur Durchführung ! einer Modifikation verarbeitet wird, nicht aber wenn der durchgeführte Befehl (wie zum Beispiel der vorhergehende Befehl) ein gewöhnlicher aus dem Befehlsspeicher 1' stammender Befehl ist.In the method according to the invention, the data are from; the data memory 2 1 through the IMA gate circuit 17 only allowed if a modification command to carry out! a modification is processed, but not if the executed command (such as the previous command) is an ordinary command coming from the command memory 1 '.

905633/0568905633/0568

CA 977 004CA 977 004

Die Durchführung des vorhergehenden Modifikationsbefehls bewirkt die nachfolgende Betätigung der IMA-Torschaltung 17, die die Daten vom Datenspeicher 2' nach dem Eingang 18 der IMA 15 durchläßt, die dann die am Eingang 16 aufgenommenen Befehle und die am Eingang 18 aufgenommenen Daten arithmetisch miteinander kombiniert, beispielsweise durch Addition, und eine modifizierte Befehlsadresse nach dem DAR 4' und einen modifizierten Befehlsoperationscode oder Operanden an das Operationsregister 7' abgibt»The previous modification command is carried out the subsequent actuation of the IMA gate circuit 17, which the data from the data memory 2 'after the input 18 of the IMA 15 lets through, which is then recorded at input 16 Commands and the data recorded at input 18 are arithmetically combined with one another, for example by addition, and a modified instruction address after DAR 4 'and a modified instruction opcode or operand sends to the operation register 7 '»

Die erfindungsgemäße Verbesserung bewirkt, daß der Modifikationsbefehl jeden nachfolgenden Befehl modifiziert und der modifizierte Befehl kann in der arithmetischen, logischen Einheit 81 und auch sonst in dem System in üblicher Weise verarbeitet werden.The improvement according to the invention has the effect that the modification command modifies each subsequent command and the modified command can be processed in the usual way in the arithmetic, logic unit 8 1 and also in other ways in the system.

Der Fachmann erkennt sofort, daß bei Decodierung eines Modifikationsbefehls -Operanden im Operationsregister 7' praktisch sofort ein Kippimpuls an die IMA-Torschaltung 17 über den Impulseingang 21 angelegt wird, so daß bereits der nächstfolgende Befehl modifiziert werden kann.The person skilled in the art will immediately recognize that when a modification instruction is decoded -Operands in the operation register 7 'a toggle pulse to the IMA gate circuit 17 almost immediately the pulse input 21 is applied so that the next command can be modified.

Fig. 3 zeigt ein vereinfachtes Schaltbild einer Ausführungsform der Erfindung in einer Datenverarbeitungsanlage, wie isie beispielsweise in Fig. 2 schematisch gezeigt ist, mit den entsprechenden Bauelementen und Komponenten zur Durchführung der Erfindung.Fig. 3 shows a simplified circuit diagram of an embodiment of the invention in a data processing system, such as For example, it is shown schematically in FIG the corresponding structural elements and components for carrying out the invention.

Der Fachmann erkennt sofort, daß diese hier zu beschreibende Ausführungsform auf Mikroprozessoren mit einer Wortlänge von 8 Bit und mit 8-Bit-Befehlen anwendbar ist (wobei 4 Bits für die Adresse und 4 Bits für den Operanden vorgesehen sind).The person skilled in the art will immediately recognize that this embodiment to be described here is based on microprocessors with a word length of 8 bits and can be used with 8-bit instructions (4 bits for the address and 4 bits are provided for the operand).

Es ist sofort einleuchtend, daß die vorliegende Erfindung mit entsprechender Abwandlung auf Datenworte und BefehleIt is immediately evident that the present invention, with appropriate modifications, can be applied to data words and commands

909833/0SS8909833 / 0SS8

CA 977 004CA 977 004

_..._ ..__. 1902601_..._ ..__. 1902601

anderer Längen anwendbar ist. Längere Datenworte und längere Befehle würden die Verarbeitungsmöglichkeiten natürlich erhöhen und auch die Komplexität des Systems vergrößern.other lengths is applicable. Longer data words and longer commands would of course increase the processing options and also increase the complexity of the system.

Im allgemeinen werden Kleindatenverarbeitungsanlagen und Mikroprozessoren aus integrierten Schaltungen zusammengesetzt, die im Handel verfügbar sind. Vorzugsweise werden handelsübliche Schaltungen, wie zum Beispiel Register und Torschaltungen nach Möglichkeit eingesetzt, während andere Schaltungen, wie zum Beispiel Festwertspeicher für besondere Anforderungen bestellt werden können. Die Erfindung soll nunmehr in bezug auf Fig. 2 unter Angabe von dafür geeigneten Komponenten beschrieben werden.In general, small data processing systems and microprocessors are composed of integrated circuits, which are commercially available. Commercially available circuits such as registers and gate circuits are preferred used whenever possible, while other circuits, such as read-only memory for special Requirements can be ordered. The invention will now be made with reference to FIG. 2, specifying suitable therefor Components are described.

Wie in Fig. 3 gezeigt, werden zwei adressierbare Speicher vorgesehen, wobei natürlich auch weitere Speicher vorgesehen werden können. Der Befehlsspeicher 1" kann 8-Bit-Befehle speichern und wird aus zwei maskierten, programmierten integrierten Schaltungen 1a und 1b gebildet. Jede dieser integrierten Schaltungen steht unter der Teile Nr. 74187 von j der Firma Texas Instruments Inc. zur Verfügung und kann mit •vorbestimmter Programmierung beschafft werden. Da jede inte-As shown in Fig. 3, two addressable memories are provided, further memories can of course also be provided. The command memory 1 "can hold 8-bit commands store and is formed from two masked, programmed integrated circuits 1a and 1b. Each of these integrated Circuits is available from Texas Instruments Inc. under Part No. 74187 from j and can be used with • predetermined programming can be procured. Since every in-

I II I

jgrierte Schaltung nur 4-Bit-Information speichern kann, sind jjgrierte circuit can only store 4-bit information, j

:zwei integrierte Schaltungen erforderlich. Die integrierte ! : two integrated circuits required. The integrated!

Schaltung 1a wird zur Speicherung des Adressteils der Be- ιCircuit 1a is used to store the address part of the Be ι

fehle und die Schaltung 1b für die Speicherung der ent- 'missing and the circuit 1b for storing the ent- '

sprechenden Operanden benutzt.speaking operands are used.

Die Festwertspeicher werden mit zwei Arten von Befehlen programmiert, nämlich normale Befehle und Modifikationsbefehle. Die letztgenannten Befehle haben Operanden mit ausgewählter Codierung mit gewissen gemeinsamen Kennzeichen, die nach Decodierung ein Schaltsignal oder Auftastsignal für die Befehls-Modifiziertorschaltungen liefern, so daß nachfolgende Befehlsmodifikationen durchgeführt werden können.The read only memories are programmed with two types of commands, namely normal commands and modification commands. The latter instructions have operands of selected encoding with certain common identifiers, the after decoding provide a switching signal or gating signal for the command modifier circuits, so that subsequent Command modifications can be carried out.

909833/0588909833/0588

CA 977 OO4CA 977 OO4

Der andere Speicher, der Datenspeicher 2", besteht ebenfalls aus zwei Teilen. Jeder Teil besteht aus einer integrierten Schaltung mit einem 16x4 Bit Speicher für wahlfreien Zugriff. Diese Speicher mit wahlfreiem Zugriff sind als handelsübliche Teile unter der Teile Wr. 7489 von Texas Instruments Inc. erhältlich. Der Speicher mit wahlfreiem Zugriff, der Datenspeicher, ist dabei mit 2a und 2b bezeichnet. Gleichzeitige Betätigung der beiden Teilspeicher gestattet Operationen mit 8-Bit-Datenworten.The other memory, the data memory 2 ", also exists of two parts. Each part consists of an integrated circuit with a 16x4 bit memory for random Access. These random access memories are available as off-the-shelf parts under Parts Wr. 7489 from Texas Instruments Inc. available. The random access memory, the data memory, is denoted by 2a and 2b. Simultaneous actuation of the two partial memories allows operations with 8-bit data words.

Der Befehlsspeicher 1" wird aus einem Befehlsadressregister 3" über entsprechende Befehlskabel A und A" für einen selektiven Zugriff zu gespeicherten Befehlen adressiert. Die angesteuerten, gespeicherten Befehle erscheinen ausgangsseitig auf Ausgangskabel B bzw. B'„ Die Ausgangskabel B und B' liefern den Adressteil und den entsprechenden Operandenteil der Befehle an IMA 15".The command memory 1 "is made from a command address register 3" via corresponding command cables A and A "for a selective Access to stored commands addressed. The activated, stored commands appear on the output side Output cables B and B '"Supply the output cables B and B' the address part and the corresponding operand part of the commands to IMA 15 ".

In gleicher Weise wird der Datenspeicher 2" über das zugehörige Datenadressregister DAR 4" über ein Datenregister-oder Ausgangskabel D für einen selektiven Zugriff zu gespeicherten Daten adressiert. Die Datenausgangskabel E und E" sind an der ALU 8" angeschlossen.In the same way, the data memory 2 ″ via the associated data address register DAR 4 ″ via a data register or Output cable D addressed for selective access to stored data. The data output cables E and E "are on the ALU 8 "connected.

;In diesem Beispiel besteht das Befehlsadressregister 3" aus zwei zusammengeschalteten Registern 3a und 3b. Die Register 3a und 3b können entweder durch Fortschalten oder durch Verzweigungsladen über ein Verzweigungskabel c, das aus den Leitungen Ci, C2, C3 und C4 besteht, betätigt werden. Eingangsleituagen K1 und K2 werden zum Laden der Register 3a bzw. 3b in üblicher Weise benutzt. Die Register 3a und 3b können handelsübliche unter der Teile Nr. 74163 von Texas Instruments Inc. erhältliche integrierte Schaltungen sein.; In this example the instruction address register 3 "consists of two registers 3a and 3b connected together. The registers 3a and 3b can be switched either by stepping or by branch charging via a branch cable c, which consists of the Lines Ci, C2, C3 and C4 are actuated. Entry guidelines K1 and K2 are used in the usual way to load registers 3a and 3b, respectively. Registers 3a and 3b can be obtained commercially under Part No. 74163 from Texas Instruments Inc. be integrated circuits available.

DAR 4" ist ein 4-Bit, impulsbetätigtes selbstsperrendes Register, das eingangsseitig am IMA-Adressausgang nach Kabel C angeschlossen ist. 9 09 8 3 3/0588DAR 4 "is a 4-bit, pulse-activated, self-locking register that is connected to the IMA address output on the input side on cable C connected. 9 09 8 3 3/0588

CA 977 004CA 977 004

29Q26Q129Q26Q1

Das Operationsregister 7" ist am IMA 15b Ausgang C angeschlossen und liefert, wenn es geladen ist, über das ALU- '■ Operanden-Eingangskabel D1 Ausgangs signale an die ALU 8. Die Register DAR 4" und 7" können handelsübliche Teile mit der Teile Nr. 7495 von Texas Instruments Inc. sein.The operation register 7 "is connected to the IMA 15b output C and, when loaded, delivers output signals to the ALU 8 via the ALU- '■ operand input cable D 1. The registers DAR 4" and 7 "can use commercially available parts with the Part No. 7495 from Texas Instruments Inc.

Die Modifikationsaddierschaltung IMA 15' besteht aus zwei Addierstufen 15a und 15b und stellt in diesem Beispiel die Modifikationsschaltung dar. Jede der Addierstufen 15a oder 15b kann für die Modifikationsoperation eine 4-Bit-Summe liefern. Jede der Addierstufen 15a oder 15b kann als handelsübliches Teil mit der Teile Nr. 7483 von Texas Instruments Inc. bezogen werden.The modification adding circuit IMA 15 'consists of two Adding stages 15a and 15b and represents the modification circuit in this example Each of the adder stages 15a or 15b can provide a 4-bit sum for the modification operation. Each of the adding stages 15a or 15b can be commercially available Part No. 7483 can be obtained from Texas Instruments Inc.

Als Modifikationsschaltung können auch andere Schaltungen, wie zum Beispiel UND/ODER-Glieder, Exklusiv-ODER-Glieder oder viele andere Funktionsschaltungen, abhängig von der Art der Modifikation eines Befehls benutzt werden, und es sei hier ausdrücklich dargelegt, daß die Erfindung nicht aufOther circuits, such as, for example, AND / OR gates, exclusive OR gates, can also be used as the modification circuit or many other functional circuits, depending on the type of modification of an instruction, can be used and it is here expressly stated that the invention does not

Addierschaltungen als Modifikationsschaltungen beschränkt sein soll. Adding circuits should be restricted as modification circuits.

Die Modifikationsaddierschaltung 15' ist eingangsseitig an den Befehlsausgangskabeln B bzw. B1 angeschlossen. Das Kabel B list dabei an der Addierstufe 15a und das Kabel B1 an der Addierstufe 15b angeschlossen und liefert dabei den entsprechenden Adress- bzw. Operandenteil des Befehls. Die Ausgangsleitungen J bzw. J1 der Modifikationsaddiertorschaltungen 17a bzw. 17b der Modifikationstorschaltung 17' liefern Modifikationseingangssignale nach den Addierstufen 15a bzw. 15b. Die Torschaltungen 17a, 17b sind in diesem Beispiel integrierte Schaltungen, die unter der Teile Nr. 74157 von Texas Instruments Inc. handelsüblich erhältlich sind. Die Eingangssignale auf den Leitungen E und E1 für die Torschaltung 17a bzw. 17b werden von den Ausgangskabeln E bzw. E1 des Datenspeichers 2" abgeleitet.The modification adding circuit 15 'is connected on the input side to the command output cables B and B 1, respectively. The cable B list is connected to the adder 15a and the cable B 1 to the adder 15b and supplies the corresponding address or operand part of the command. The output lines J and J 1 of the modification adding gate circuits 17a and 17b of the modification gate circuit 17 'supply modification input signals after the adding stages 15a and 15b, respectively. The gate circuits 17a, 17b in this example are integrated circuits which are commercially available from Texas Instruments Inc. under Part No. 74157. The input signals on the lines E and E 1 for the gate circuit 17a or 17b can be derived from the output cables E and E 1 of the data memory 2 ".

909833/ΟΒδδ909833 / ΟΒδδ

CA 977 004CA 977 004

11026011102601

Auf den Leitungen J bzw. J" treten nur dann Ausgangssignale auf, wenn der Impulseingang K3 durch ein entsprechendes Ausgangssignal der Decodierschaltung 23 betätigt wird, die durch das Operandeneingangskabel D' angesteuert wird»Output signals then only appear on lines J and J " on when the pulse input K3 is triggered by a corresponding Output of the decoder circuit 23 is operated, the is controlled by the operand input cable D '»

Der Decodierer 23 kann als programmierbare Festwertspeicherschaltung (PROM)/ d. h. als integrierte Schaltung aufgebauter Decodierer, bei dem entsprechende Bit-Muster eingespeichert sind, unter der Typen Nr. 82S123 handelsüblich von der Firma Signetics Corporation bezogen werden. Der Decodierer 23 liefert die entsprechenden Eingangssignale über die Leitungen K1 und K2 zum Laden des Befehlsadressregisters 3* und zur Betätigung der IMA-Torschaltung 17', wenn entsprechende Signale: oder Information auf dem Kabel D1 zur Verfügung stehen, d. h. wenn der Operandenteil eines Modifikationsbefehls auf dem Kabel D' liegt. Die anderen Ausgangssignale, die auf den übrigen Ausgangsleitungen Kn zur Verfügung stehen, können an anderen Stellen der Datenverarbeitungsanlage eingesetzt werden, beispielsweise zur Steuerung der Abgabe von Signalen am Akkumulator 9" oder als Eingangssteuerung für die ALU 8".The decoder 23 can be obtained as a programmable read-only memory circuit (PROM) / ie a decoder constructed as an integrated circuit in which corresponding bit patterns are stored, under the type no. 82S123, commercially available from Signetics Corporation. The decoder 23 supplies the corresponding input signals via the lines K1 and K2 for loading the command address register 3 * and for actuating the IMA gate circuit 17 'when corresponding signals: or information are available on the cable D 1 , ie when the operand part of a modification command lies on the cable D '. The other output signals that are available on the remaining output lines Kn can be used at other points in the data processing system, for example to control the output of signals at the accumulator 9 ″ or as input control for the ALU 8 ″.

Die arithmetische logische Einheit 8" besteht aus paarweise angeordneten, unter der Teile Nr. 74181 von Texas Instruments Inc. verfügbaren integrierten Schaltungen, die hier mit 8a Jund 8b bezeichnet sind. Die integrierten Schaltungen 8a und '8b sind eingangsseitig an den Ausgangskabeln E und E1 bzw. an den Eingabe-Ausgabe-Kabeln F bzw. F1 angeschlossen. Operandeneingangskabel D1 stellt die gewünschte Funktion für einen Vergleich der durch die vorgenannten Kabel gelie-,ferten Information in der ALU 8" ein.The arithmetic logic unit 8 "consists of paired integrated circuits available under part number 74181 from Texas Instruments Inc., which are designated here as 8a J and 8b. The integrated circuits 8a and 8b are input to the output cables E and E. 1 or connected to the input / output cables F or F 1. Operand input cable D 1 sets the desired function for a comparison of the information supplied by the aforementioned cables in the ALU 8 ".

Die ALU-Ausgangskabel G und G' sind an den Teilschaltungen 9a und 9b des Akkumulators 9" angeschlossen. Der Akkumulator 9" ist ausgangsseitig an Eingabe/Ausgabe-Geräten angeschlossen und gibt dann Ausgangssignale ab, wenn die Ladeleitung 24 durch die Anlage in üblicher Weise betätigtThe ALU output cables G and G 'are on the sub-circuits 9a and 9b of the accumulator 9 "are connected. The accumulator 9" is connected on the output side to input / output devices and then emits output signals when the charging line 24 is actuated by the system in the usual manner

wlrd# «0883370688 wlrd # «0883370688

CA 977 004CA 977 004

29026Q29026Q

Der Akkumulator 9" besteht aus einem Paar 4-Bit-Register und kann von der ALU abgetrennt werden, ohne daß dadurch der Akkumulatorinhalt beeinflußt wird. Jedes der beiden Register 9a und 9b des Akkumulators 9" kann eine handelsüblich unter der Teile Nr. 74295 von Texas Instruments Inc. erhältliche integrierte Schaltung sein.The accumulator 9 "consists of a pair of 4-bit registers and can be separated from the ALU without affecting the contents of the accumulator. Each of the two registers 9a and 9b of the accumulator 9 ″ may be one commercially available from Texas Instruments Inc. under Part No. 74295 be integrated circuit.

Obgleich der Arbeitsablauf des Verfahrens und die Arbeitsweise der erfindungsgemäß aufgebauten Schaltung nunmehr klar sein sollte, soll doch die Arbeitsweise der in Fig. 3 dargestellten Ausführungsform der Erfindung nach dem erfindungsgemäßen Verfahren beschrieben werden.Although the working sequence of the method and the mode of operation of the circuit constructed according to the invention are now clear should be, but the mode of operation of the embodiment of the invention shown in FIG. 3 according to the invention Procedures are described.

Wie bereits erwähnt, sind in dem Befehlsspeicher 1" gewöhnliche Befehle und Modifikationsbefehle eingespeichert. Wenn ein Modifikationsbefehl auftritt, wird er nach Feststellung durch den Decodierer 23 decodiert und liefert die Modifikation des nächstfolgenden Befehls.As already mentioned, ordinary commands and modification commands are stored in the command memory 1 ″ a modification command occurs, it is decoded after detection by the decoder 23 and supplies the modification of the next command.

Es soll nun die Anlage im Betrieb betrachtet werden. Ein Befehl soll vom Befehlsspdcher 1" abgerufen werden. Zum Abrufen des Befehls kann das Befehlsadressregister in der Sieise betätigt werden, daß einmal die Fortschaltleitung angesteuert wird, wodurch ein sequentieller Ladevorgang einge-Ileitet wird, oder aber durch Laden des Inhalts des auf :Kabel C auftretenden Ausgangssignals der Addierstufe oder ■Addierschaltung durch selektives impulsmäßiges Betätigen ! der Ladeleitung K2 oder K1. Dadurch kann ein Befehlsblock oder ein gesonderter Befehl innerhalb eines Befehlsblocks ausgewählt werden.The system is now to be considered in operation. A command is to be fetched from the command memory 1 ". For To call up the command, the command address register can be operated in the same way that the stepping line is activated once which initiates a sequential loading process , or by loading the content of the output signal of the adder that occurs on cable C or ■ Adding circuit through selective impulse actuation ! the charging line K2 or K1. This allows a command block or a separate command can be selected within a command block.

Bei Betätigung von BAR 3" wird über Kabel A und A1 selektiv ein Befehl im Befehlsspeicher angesteuert. Der ausgewählte Befehl tritt dann auf den Ausgangskabeln B und B1 auf und liegt an den Eingängen der Modifikationsaddierstufen 15a bzw. 15b.When BAR 3 "is pressed, a command in the command memory is selectively activated via cables A and A 1. The selected command then appears on output cables B and B 1 and is applied to the inputs of the modification adders 15a and 15b, respectively.

9 09 8 3 3/05889 09 8 3 3/0588

CA 977 004CA 977 004

War der unmittelbar vorhergehende Befehl kein Modifikationsbefehl, dann liefert die Decodierstufe 23 keinen Auftastimpuls über Leitung K3 an die Torschaltung 17" (17a und 17b), so daß damit die Ausgangsleitungen J und J' unbetätiggt bleiben. Unabhängig davon, was für ein Befehl auf den Leitunger B und B' auftritt, wird dieser auf den Ausgangsleitungen C und C in unmodifizierter Form auftreten und wird in der Anlage in üblicher Weise verarbeitet werden»If the immediately preceding command was not a modification command, then the decoding stage 23 does not supply a keying pulse via line K3 to gate circuit 17 "(17a and 17b), so that the output lines J and J 'remain inactive. Regardless of what the order was for the manager B and B 'occurs, this will occur on the output lines C and C in unmodified form and will be in the system processed in the usual way »

Wenn dagegen der vorhergehende Befehl ein Modifikationsbefehl war, dann ist die Torschaltung 17° aufgetastet, so daß vom Datenspeicher 2" über die Kabel E und E" ankommende Information nach den Leitungen J und J' durchgelassen wird« Die Modifikationsaddierschaltung 15' wird diese Information arithmetisch kombinieren und liefert daraus einen modifizierten Befehl (d. h. einen vom Befehlsspeicher 1" abgerufenen Befehl, der durch Daten modifiziert ist, die durch die Adresse eines vorhergehenden Modifikationsbefehls abgerufen waren)«If, on the other hand, the previous command was a modification command, then the gate circuit 17 ° is keyed so that information arriving from the data memory 2 " via the cables E and E" is passed through to the lines J and J '. The modification adding circuit 15' is this information arithmetic combine and deliver a modified instruction (ie an instruction fetched from instruction memory 1 which is modified by data fetched by the address of a previous modification instruction) «

Auf diese Weise werden entweder der Operand oder die Adresse oder beide Teile eine Befehls modifiziert.In this way, either the operand or the address or both parts of an instruction are modified.

i Die Erfindung sieht vor, daß alle Teile oder jedes Teil der ] Daten, beispielsweise zwei der 8 Bit für eine Modifikation ; irgendeinem Teil der Operandenadresse oder beiden Teilen j eines Befehls zugeführt werden können. : The invention provides that all parts or each part of the] data, for example two of the 8 bits for a modification ; either part of the operand address or both parts j of an instruction can be supplied. :

:Man sieht ferner, daß dann, wenn ein zu modifizierender Be- ifehl ein Null-Befehl ist, die vom Datenspeicher 2" abgerufenen1 iDaten als modifizierter Befehl eingesetzt werden, so daß auf ; diese Weise, falls gewünscht. Daten als Befehle im Datenspeicher abgespeichert werden können.: It is further seen that when a · is to be modified loading 'ifehl a null command, the "retrieved from data memory 2 1 Idaten be used as the modified command, so that on; thus, if desired, data and commands. can be stored in the data memory.

«00833/05*8«00833/05 * 8

CA 977 004CA 977 004

Am Ende eines Befehlszugriffszyklus wird auf der Leitung des DAR 4" und des Operationsregisters 7" ein Taktimpuls abgegeben, der bewirkt, daß die Ausgangskabel D und D1 Aus-Jgangssignale führen, während das Befehlsadressregister 1"At the end of an instruction access cycle, a clock pulse is emitted on the line of the DAR 4 "and the operation register 7", which causes the output cables D and D 1 to carry output signals, while the instruction address register 1 "

j in üblicher Weise für den Zugriff zu neuen Befehlen fortj geschaltet wird.j continued in the usual way for access to new commands is switched.

Der Adressteil des modifizierten Befehls läuft dann in den Datenspeicher 2" über das Kabel D ein, während der entjsprechende modifizierte Operandenteil auf Kabel D' eine !Funktion in ALU 8" einstellt.The address part of the modified command then runs into the data memory 2 ″ via the cable D, while the corresponding modified operand part on cable D 'one ! Function set in ALU 8 ".

Die ALU 8" kombiniert die hier über Kabel E und E1 und die Eingabe/Ausgabe-Kabel F und F1 zugeführten Daten.The ALU 8 "combines the data supplied here via cables E and E 1 and the input / output cables F and F 1.

Beim nächsten Zyklus wird der Akkumulator 9" (9a, 9b) auf das Ausgangssignal der ALU 8" eingestellt. Dieses Ausgangssignal tritt auf den Eingangs/Ausgangs-Leitungen F und F' auf und steuert periphere Geräte, wie z. B. Drucker, Fern-I schreiber oder Magnetbandeinheiten an.In the next cycle, the accumulator 9 "(9a, 9b) is set to the output signal of the ALU 8". This output signal occurs on input / output lines F and F 'and controls peripheral devices such as B. Printer, Fern-I recorders or magnetic tape units.

Auf diese Weise kann ein Befehl modifiziert werden, das 'Datenadressregister kann mit der Adresse eines modifizierten Befehls geladen werden und das Operationsregister kann mitIn this way an instruction can be modified; the data address register can be assigned the address of a modified one Instruction can be loaded and the operation register can be opened with

I einem modifizierten Operanden geladen werden.I loaded a modified operand.

Es leuchtet ein, daß der Decodierer 23 leicht so aufgebaut oder gewählt werden kann, daß jeder nachfolgende Befehl statt der unmittelbar nachfolgende Befehl modifiziert werden kann.It will be appreciated that the decoder 23 can easily be constructed or chosen to take any subsequent command the command immediately following can be modified.

«09833/058®«09833 / 058®

CA 977 004CA 977 004

LeerseiteBlank page

Claims (1)

PATENTANSPRÜCHE PATENTAN 'S CLAIMS Verfahren zum Modifizieren von Befehlen in einer \ : Datenverarbeitungsanlage mit mindestens zwei Speichern mit Speicheradreßregistern, einem Operationsregister, ; einer arithmetischen und logischen Einheit und einem Akkumulator,Method for modifying commands in a \ : data processing system with at least two memories with memory address registers, an operation register,; an arithmetic and logical unit and an accumulator, ! gekennzeichnet durch den folgenden Verfahrensablauf: · j - Adressieren des ersten der beiden Speicher (V, 1") ! für einen selektiven Zugriff zu einem gespeicherten Befehl und Weiterleiten dieses Befehls an eine Befehlsmodifizierschaltung (IMA, 15),! characterized by the following process sequence: j - addressing the first of the two memories (V, 1 ") ! for selective access to a stored command and forwarding that command to a Command modification circuit (IMA, 15), - Adressieren von Daten in dem anderen Speicher (21, 2") entsprechend einem in einem vorhergehenden Verarbeitungszyklus aus dem ersten Speicher entnommenen Befehl,- Addressing data in the other memory (2 1 , 2 ") in accordance with an instruction taken from the first memory in a previous processing cycle, - Weiterleiten der so erhaltenen Daten nach einer Modifiziertorschaltung (17) und selektive Auftastung dieser Torschaltung für eine selektive Durchschaltung dieser Daten nach der Befehlsmodifizierschaltung (IMA, 15) und- Forwarding of the data thus obtained to a modifying gate (17) and selective gating this gate circuit for a selective switching through of this data after the command modifying circuit (IMA, 15) and - Kombinieren dieser der Befehlsmodifizierschaltung zugeführten Daten mit dem dort aufgenommenen Befehl zur Abgabe eines modifizierten Befehls für die Datenverarbeitungsanlage .Combining these data supplied to the command modifying circuit with the command received there to issue a modified command for the data processing system. Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß als erster Speicher ein Festwertspeicher und als zweiter Speicher ein wahlfrei adressierbarer, modifizierbarer Speicher verwendet werden.Method according to Claim 1, characterized in that the first memory is a read-only memory and the second memory a randomly addressable, modifiable memory can be used. J3. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet,
daß als befehlsmodifizierschaltung eine Addierschaltung
J3. Method according to claim 1 or 2, characterized in that
that as a command modifying circuit, an adder circuit
CA 977 004CA 977 004 29026Qi29026Qi verwendet wird, der eine Modifizier-Torschaltung vorgeschaltet ist, die dann selektiv angesteuert und auf getastet v/ird, wenn ihr die Adresse eines Modi- : fikationsbefehls während des unmittelbar vorhergehenden Verarbeitungszyklus zugeleitet wurde und dann die so adressierten Daten an die Modifizier-Addierschaltung (IMA, 15) abgibt, undis used, which is a modify gate is connected upstream, which is then selectively activated and keyed when you have the address of a mode: fication command was supplied during the immediately preceding processing cycle and then the so addressed data to the modify-adder circuit (IMA, 15) gives, and daß dort diese Daten und der adressierte und abgerufene Befehl zu einem modifizierten Befehl miteinander in der Weise kombiniert werden, daß selektiv der Operanden*- teil und/oder der Adressenteil des adressierten und abgerufenen Befehls modifiziert werden.that there these data and the addressed and retrieved Instruction to a modified instruction can be combined with each other in such a way that selectively the operand * - part and / or the address part of the command addressed and retrieved can be modified. Datenverarbeitungsanlage zur Durchführung eines Verfahrens gemäß Ansprüchen 1 bis 3 mit mindestens zwei Speichern und Speicheradreßregistern mit einem Operationsregister, einer arithmetischen und logischen Einheit (ALU) und einem daran angeschlossenen Akkumulator ,Data processing system for carrying out a method according to claims 1 to 3 with at least two Storage and memory address registers with an operational register, an arithmetic and a logical Unit (ALU) and an accumulator connected to it, gekennzeichnet durch einen selektiv ansteuerbaren Befehlsspeicher (1) und einen selektiv ansteuerbaren und in seinem Speicherinhalt modifizierbaren Datenspeicher (2), die beide selektiv über ihre zugehörigen Speicheradreßregister (BAR, DAR, 3, 4) ansteuerbar sind, undcharacterized by a selectively controllable instruction memory (1) and a selectively controllable and in its memory content modifiable data memory (2), both of which are selectively associated with their Memory address registers (BAR, DAR, 3, 4) are controllable, and eine an den Befehlsspeicher und über eine Torschaltung (17) an den Datenspeicher (2) angeschlossene Modifizierschaltung (IMA,15) für eine Kombination der Daten mit dem Befehl zur Erstellung eines modifizierten Befehls sowie dadurch, daß die Torschaltung (17) entsprechend einem von der Befehlsmodifizierschaltung in einem vorhergehenden Zyklus aufgenommenen Befehl auftastbar ist.one to the instruction memory and via a gate circuit (17) to the data memory (2) connected modification circuit (IMA, 15) for a combination of the data with the command to create a modified command and in that the gate circuit (17) accordingly one of the command modifying circuit in command recorded in a previous cycle can be applied. CA 977 004CA 977 004 28026012802601 Datenverarbeitungsanlage nach Anspruch 4, dadurch gekennzeichnet, daß der Befehlsspeicher ein Festwertspeicher und der Datenspeicher ein Speicher mit wahlfreiem Zugriff ist.Data processing system according to Claim 4, characterized in that the command memory is a read-only memory and the Data storage is random access storage. Datenverarbeitungsanlage nach Anspruch 5, dadurch gekennzeichnet, daß die Befehlsmodifizierschaltung eine Torschaltung (17a, 17b)enthält, die nach Aufnahme der Adresse eines Modifikationsbefehls während des unmittelbar vorhergehenden Verarbeitungszyklus für eine selektive Durchschaltung der abgerufenen Daten nach der Modifizier-Addierschaltung (15, IMA) auftastbar ist.Data processing system according to Claim 5, characterized in that that the command modifying circuit contains a gate circuit (17a, 17b) which after receiving the address of a modification instruction during the immediately preceding processing cycle for a selective one Switching the retrieved data through to the modify-adder circuit (15, IMA) can be pressed. 30β833/05βδ30β833 / 05βδ CA 977 004CA 977 004
DE19792902601 1978-02-15 1979-01-24 PROCEDURE AND DATA PROCESSING SYSTEM FOR IMPLEMENTING AN COMMAND MODIFICATION Withdrawn DE2902601A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA296,870A CA1106978A (en) 1978-02-15 1978-02-15 Simple flexible indexing method for ros storage microcomputers

Publications (1)

Publication Number Publication Date
DE2902601A1 true DE2902601A1 (en) 1979-08-16

Family

ID=4110763

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19792902601 Withdrawn DE2902601A1 (en) 1978-02-15 1979-01-24 PROCEDURE AND DATA PROCESSING SYSTEM FOR IMPLEMENTING AN COMMAND MODIFICATION

Country Status (5)

Country Link
JP (1) JPS54114944A (en)
CA (1) CA1106978A (en)
DE (1) DE2902601A1 (en)
FR (1) FR2417807A1 (en)
GB (1) GB2014766A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1153668B (en) * 1982-11-24 1987-01-14 Honeywell Inf Systems CONTROL MEMORY ORGANIZATION
JPS62205429A (en) * 1986-03-06 1987-09-10 Nec Corp Microcomputer

Also Published As

Publication number Publication date
JPS54114944A (en) 1979-09-07
FR2417807A1 (en) 1979-09-14
CA1106978A (en) 1981-08-11
GB2014766A (en) 1979-08-30

Similar Documents

Publication Publication Date Title
DE2234867C2 (en) Arrangement in a data processing system for controlling the processing of two mutually independent command sequences
DE2714805C2 (en)
DE3638572C2 (en)
EP0097725B1 (en) Circuits in the control part of a microprogrammable processor for direct hardware execution of selected instructions
DE2117936B2 (en) Microprogram-controlled central unit of an electronic data processing system
DE2230102A1 (en) CALCULATOR FOR VARIABLE WORD LENGTHS
DE1499193B2 (en) MEMORY ADDRESSING INTERFACE
DE2318069A1 (en) COMPUTER CONTROL SYSTEM USING MICROPROGRAMMING AND STATIC / DYNAMIC EXTENSION OF CONTROL FUNCTIONS USING HARDWIRED LOGICAL MATRIX
DE2548720C2 (en) Microprogram control unit
DE2725614C2 (en)
DE2418921C2 (en) Device for storing micro-programs in a data processing system
DE2747304C3 (en) Micro-command control device
DE2908776C2 (en) Circuit for memory addressing of a memory in a data processor
DE2906685A1 (en) INSTRUCTION DECODER
EP0655688B1 (en) Program memory expansion for a microprocessor
DE2902601A1 (en) PROCEDURE AND DATA PROCESSING SYSTEM FOR IMPLEMENTING AN COMMAND MODIFICATION
DE2622140C3 (en) Device for controlling manual operations
DE2545751A1 (en) CONTROL CIRCUIT FOR A DATA PROCESSING SYSTEM
DE1212748B (en) Data processing machine with program interruption
DE1524211C3 (en) Data processing system
DE2954533C2 (en)
DE2037506C3 (en) Programmable data processing system with a controllable main control
DE3603240C2 (en)
DE2216533C3 (en) Arrangement for controlling the execution of several tasks in a DATA PROCESSING SYSTEM
DE3603319C2 (en)

Legal Events

Date Code Title Description
8139 Disposal/non-payment of the annual fee