<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=MIXAL</id>
	<title>MIXAL - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=MIXAL"/>
	<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=MIXAL&amp;action=history"/>
	<updated>2026-05-30T21:06:45Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikipedia (Deutsch) – Lokale Kopie</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki-de.moshellshocker.dns64.de/index.php?title=MIXAL&amp;diff=545304&amp;oldid=prev</id>
		<title>imported&gt;Lómelinde: :Kategorie:Wikipedia:Seite mit Syntaxhervorhebungsfehlern falsche Angabe lang=&quot;mmix&quot;  siehe auch Hilfe:Syntaxhighlight#Unterstützte Sprachen wurde wohl ersetzt oder geändert zu asm (assambler)?</title>
		<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=MIXAL&amp;diff=545304&amp;oldid=prev"/>
		<updated>2023-06-20T16:22:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=Kategorie:Wikipedia:Seite_mit_Syntaxhervorhebungsfehlern&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Kategorie:Wikipedia:Seite mit Syntaxhervorhebungsfehlern (Seite nicht vorhanden)&quot;&gt;Kategorie:Wikipedia:Seite mit Syntaxhervorhebungsfehlern&lt;/a&gt; falsche Angabe lang=&amp;quot;mmix&amp;quot;  siehe auch &lt;a href=&quot;/index.php/Hilfe:Syntaxhighlight#Unterstützte_Sprachen&quot; title=&quot;Hilfe:Syntaxhighlight&quot;&gt;Hilfe:Syntaxhighlight#Unterstützte Sprachen&lt;/a&gt; wurde wohl ersetzt oder geändert zu asm (assambler)?&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;MIXAL&amp;#039;&amp;#039;&amp;#039; ist die [[Assemblersprache]] des [[MIX (fiktiver Computer)|fiktiven MIX-Computers]].&lt;br /&gt;
&lt;br /&gt;
Der MIX-Computer ist ein hypothetischer Computer aus [[Donald E. Knuth|Donald E. Knuths]] [[The Art of Computer Programming]], welcher mittels MIXAL programmiert werden kann. Eine Emulation dieses Computers ist bei den [[#Weblinks|Weblinks]] unter &amp;#039;&amp;#039;Dan&amp;#039;s MIX Simulator and MIXAL Compiler&amp;#039;&amp;#039; zu finden.&lt;br /&gt;
&lt;br /&gt;
== Beispielprogramme ==&lt;br /&gt;
=== hello world ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;asm&amp;quot;&amp;gt;&lt;br /&gt;
TERM    EQU    19          console device no. (19 = typewriter)&lt;br /&gt;
        ORIG   1000        start address&lt;br /&gt;
START   OUT    MSG(TERM)   output data at address MSG&lt;br /&gt;
        HLT                halt execution&lt;br /&gt;
MSG     ALF    &amp;quot;HELLO&amp;quot;&lt;br /&gt;
        ALF    &amp;quot; WORL&amp;quot;&lt;br /&gt;
        ALF    &amp;quot;D    &amp;quot;&lt;br /&gt;
        END    START       end of program&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bildung der Fakultätsfunktion ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;asm&amp;quot;&amp;gt;&lt;br /&gt;
Eingabe   CON 10            Variable &amp;quot;Eingabe&amp;quot; wird auf &amp;quot;10&amp;quot; gesetzt&lt;br /&gt;
Zaehler   CON 0             Variable &amp;quot;Zaehler&amp;quot; wird auf &amp;quot;0&amp;quot; gesetzt&lt;br /&gt;
Produkt   CON 1             Variable &amp;quot;Produkt&amp;quot; wird auf &amp;quot;1&amp;quot; gesetzt&lt;br /&gt;
Start                       Start des Programms (Label für den nächsten Befehl)&lt;br /&gt;
	  LDA Eingabe       &amp;quot;Load A-Register&amp;quot; Lädt den Inhalt der Variablen in das A-Register&lt;br /&gt;
	  STA Zaehler       &amp;quot;Store A-Register&amp;quot; Speichert Inhalt des A-Registers in Variable &amp;quot;Zaehler&amp;quot;&lt;br /&gt;
Schleife  LDA Produkt       &amp;quot;Load A-Register&amp;quot; Lädt den Inhalt der Variablen &amp;quot;Produkt&amp;quot; in das A-Register&lt;br /&gt;
	  MUL Zaehler       Multipliziert A-Registerinhalt mit Variable &amp;quot;Zaehler&amp;quot;. Ergebnis wird in A- und X-Register geschrieben&lt;br /&gt;
	  STX Produkt       &amp;quot;Store X-Register&amp;quot; Speichert Inhalt des X-Registers in Variable &amp;quot;Produkt&amp;quot;&lt;br /&gt;
	  LDA Zaehler       &amp;quot;Load A-Register&amp;quot; Lädt den Inhalt der Variable &amp;quot;Zaehler&amp;quot; in das A-Register&lt;br /&gt;
          DECA 1            &amp;quot;Decrement at 1&amp;quot; Inhalt des A-Registers wird um 1 verringert&lt;br /&gt;
	  STA Zaehler       &amp;quot;Store A-Register&amp;quot; Speichert Inhalt des A-Registers in Variable &amp;quot;Zaehler&amp;quot;&lt;br /&gt;
	  JAP Schleife      &amp;quot;Jump if A Positive&amp;quot; Wenn A&amp;gt;0, springe zurück nach &amp;quot;Schleife&amp;quot;&lt;br /&gt;
	  HLT               &amp;quot;Halt&amp;quot;&lt;br /&gt;
	  END Start         Ende des Programmes, welches bei Start beginnt. Das Resultat steht in Variable &amp;quot;Produkt&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Beschreibung ==&lt;br /&gt;
Für das Verständnis dieser Beschreibung ist Praxis im Umgang mit Assemblersprache hilfreich.&lt;br /&gt;
&lt;br /&gt;
=== Flags ===&lt;br /&gt;
Der MIX-Computer hat einige Prozessor-Flags, die dazu eingesetzt werden, den Programmablauf zu steuern.&lt;br /&gt;
&lt;br /&gt;
==== E-Flag ====&lt;br /&gt;
Gesetzt, wenn der Inhalt des A-Registers dem Inhalt der Adresse beim Befehl CMPA (CMPA wird stets zuvor ausgeführt) gleicht.&lt;br /&gt;
&lt;br /&gt;
==== L-Flag ====&lt;br /&gt;
Gesetzt, wenn der Inhalt des A-Registers kleiner ist als der Inhalt der Adresse beim Befehl CMPA (CMPA wird stets zuvor ausgeführt).&lt;br /&gt;
&lt;br /&gt;
==== G-Flag ====&lt;br /&gt;
Gesetzt, wenn der Inhalt des A-Registers größer ist als der Inhalt der Adresse beim Befehl CMPA (CMPA wird stets zuvor ausgeführt).&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
*[http://recreationalmath.com/mixal/ Dan’s MIX Simulator and MIXAL Compiler]&lt;br /&gt;
*[http://sourceforge.net/projects/mixnet/ MixNet – Mixal-Compiler für Microsoft .NET]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Programmiersprache]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Lómelinde</name></author>
	</entry>
</feed>