CPU-Decoder
About points...
We associate a certain number of points with each exercise.
When you click an exercise into a collection, this number will be taken as points for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit the number of points for the exercise in the collection independently, without any effect on "points by default" as represented by the number here.
That being said... How many "default points" should you associate with an exercise upon creation?
As with difficulty, there is no straight forward and generally accepted way.
But as a guideline, we tend to give as many points by default as there are mathematical steps to do in the exercise.
Again, very vague... But the number should kind of represent the "work" required.
When you click an exercise into a collection, this number will be taken as points for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit the number of points for the exercise in the collection independently, without any effect on "points by default" as represented by the number here.
That being said... How many "default points" should you associate with an exercise upon creation?
As with difficulty, there is no straight forward and generally accepted way.
But as a guideline, we tend to give as many points by default as there are mathematical steps to do in the exercise.
Again, very vague... But the number should kind of represent the "work" required.
About difficulty...
We associate a certain difficulty with each exercise.
When you click an exercise into a collection, this number will be taken as difficulty for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit its difficulty in the collection independently, without any effect on the "difficulty by default" here.
Why we use chess pieces? Well... we like chess, we like playing around with \(\LaTeX\)-fonts, we wanted symbols that need less space than six stars in a table-column... But in your layouts, you are of course free to indicate the difficulty of the exercise the way you want.
That being said... How "difficult" is an exercise? It depends on many factors, like what was being taught etc.
In physics exercises, we try to follow this pattern:
Level 1 - One formula (one you would find in a reference book) is enough to solve the exercise. Example exercise
Level 2 - Two formulas are needed, it's possible to compute an "in-between" solution, i.e. no algebraic equation needed. Example exercise
Level 3 - "Chain-computations" like on level 2, but 3+ calculations. Still, no equations, i.e. you are not forced to solve it in an algebraic manner. Example exercise
Level 4 - Exercise needs to be solved by algebraic equations, not possible to calculate numerical "in-between" results. Example exercise
Level 5 -
Level 6 -
When you click an exercise into a collection, this number will be taken as difficulty for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit its difficulty in the collection independently, without any effect on the "difficulty by default" here.
Why we use chess pieces? Well... we like chess, we like playing around with \(\LaTeX\)-fonts, we wanted symbols that need less space than six stars in a table-column... But in your layouts, you are of course free to indicate the difficulty of the exercise the way you want.
That being said... How "difficult" is an exercise? It depends on many factors, like what was being taught etc.
In physics exercises, we try to follow this pattern:
Level 1 - One formula (one you would find in a reference book) is enough to solve the exercise. Example exercise
Level 2 - Two formulas are needed, it's possible to compute an "in-between" solution, i.e. no algebraic equation needed. Example exercise
Level 3 - "Chain-computations" like on level 2, but 3+ calculations. Still, no equations, i.e. you are not forced to solve it in an algebraic manner. Example exercise
Level 4 - Exercise needs to be solved by algebraic equations, not possible to calculate numerical "in-between" results. Example exercise
Level 5 -
Level 6 -
Question
Solution
Short
Video
\(\LaTeX\)
No explanation / solution video to this exercise has yet been created.
Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Exercise:
Eine CPU erpretiert jeden Befehl anhand eines -Bit-Opcodes. Die folge Tabelle zeigt das Instruction Set unserer einfachen -Bit-CPU: center tabularcc|l|l multicolumnc|Opcode & Mnemonic & Operation hline texttt & & textttLDA addr & Lade Wert aus RAM-Adresse in Register~A texttt & & textttADD addr & Addiere Wert aus RAM-Adresse zu Register~A texttt & & textttSUB addr & Subtrahiere Wert aus RAM-Adresse von Register~A texttt & & textttSTA addr & Speichere Register~A in RAM-Adresse texttt & & textttJMP addr & Setze PC auf Adresse unbedingter Sprung texttt & & textttJZ addr & Springe falls Zero-Flag gesetzt texttt & & textttJC addr & Springe falls Carry-Flag gesetzt texttt & & textttOUT & Gib Register~A aus texttt & & textttHLT & Stopp tabular center Ein Decoder ist eine Schaltung die die vier OpcodBits O_ O_ O_ O_ liest und daraus Steuersignale für die einzelnen Komponenten der CPU erzeugt. Fülle zunächst die folge Tabelle aus -- welche Komponenten müssen bei welchem Befehl aktiv sein? center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & square & square & square & square & square textttADD & square & square & square & square & square textttSUB & square & square & square & square & square textttSTA & square & square & square & square & square textttJMP & square & square & square & square & square textttJZ & square & square & square & square & square textttJC & square & square & square & square & square textttOUT & square & square & square & square & square textttHLT & square & square & square & square & square tabular center Baue nun den Decoder als Schaltung auf: Die Eingänge sind O_ O_ O_ O_ die Ausgänge sind die Steuersignale aus der Tabelle. Verwe nur textttAND- textttOR- und textttNOT-Gatter.
Solution:
center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & & checkmark & & & textttADD & checkmark & checkmark & & & textttSUB & checkmark & checkmark & & & textttSTA & & & checkmark & & textttJMP & & & & checkmark & textttJZ & & & & checkmark & textttJC & & & & checkmark & textttOUT & & & & & checkmark textttHLT & & & & & tabular center
Eine CPU erpretiert jeden Befehl anhand eines -Bit-Opcodes. Die folge Tabelle zeigt das Instruction Set unserer einfachen -Bit-CPU: center tabularcc|l|l multicolumnc|Opcode & Mnemonic & Operation hline texttt & & textttLDA addr & Lade Wert aus RAM-Adresse in Register~A texttt & & textttADD addr & Addiere Wert aus RAM-Adresse zu Register~A texttt & & textttSUB addr & Subtrahiere Wert aus RAM-Adresse von Register~A texttt & & textttSTA addr & Speichere Register~A in RAM-Adresse texttt & & textttJMP addr & Setze PC auf Adresse unbedingter Sprung texttt & & textttJZ addr & Springe falls Zero-Flag gesetzt texttt & & textttJC addr & Springe falls Carry-Flag gesetzt texttt & & textttOUT & Gib Register~A aus texttt & & textttHLT & Stopp tabular center Ein Decoder ist eine Schaltung die die vier OpcodBits O_ O_ O_ O_ liest und daraus Steuersignale für die einzelnen Komponenten der CPU erzeugt. Fülle zunächst die folge Tabelle aus -- welche Komponenten müssen bei welchem Befehl aktiv sein? center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & square & square & square & square & square textttADD & square & square & square & square & square textttSUB & square & square & square & square & square textttSTA & square & square & square & square & square textttJMP & square & square & square & square & square textttJZ & square & square & square & square & square textttJC & square & square & square & square & square textttOUT & square & square & square & square & square textttHLT & square & square & square & square & square tabular center Baue nun den Decoder als Schaltung auf: Die Eingänge sind O_ O_ O_ O_ die Ausgänge sind die Steuersignale aus der Tabelle. Verwe nur textttAND- textttOR- und textttNOT-Gatter.
Solution:
center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & & checkmark & & & textttADD & checkmark & checkmark & & & textttSUB & checkmark & checkmark & & & textttSTA & & & checkmark & & textttJMP & & & & checkmark & textttJZ & & & & checkmark & textttJC & & & & checkmark & textttOUT & & & & & checkmark textttHLT & & & & & tabular center
Meta Information
Exercise:
Eine CPU erpretiert jeden Befehl anhand eines -Bit-Opcodes. Die folge Tabelle zeigt das Instruction Set unserer einfachen -Bit-CPU: center tabularcc|l|l multicolumnc|Opcode & Mnemonic & Operation hline texttt & & textttLDA addr & Lade Wert aus RAM-Adresse in Register~A texttt & & textttADD addr & Addiere Wert aus RAM-Adresse zu Register~A texttt & & textttSUB addr & Subtrahiere Wert aus RAM-Adresse von Register~A texttt & & textttSTA addr & Speichere Register~A in RAM-Adresse texttt & & textttJMP addr & Setze PC auf Adresse unbedingter Sprung texttt & & textttJZ addr & Springe falls Zero-Flag gesetzt texttt & & textttJC addr & Springe falls Carry-Flag gesetzt texttt & & textttOUT & Gib Register~A aus texttt & & textttHLT & Stopp tabular center Ein Decoder ist eine Schaltung die die vier OpcodBits O_ O_ O_ O_ liest und daraus Steuersignale für die einzelnen Komponenten der CPU erzeugt. Fülle zunächst die folge Tabelle aus -- welche Komponenten müssen bei welchem Befehl aktiv sein? center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & square & square & square & square & square textttADD & square & square & square & square & square textttSUB & square & square & square & square & square textttSTA & square & square & square & square & square textttJMP & square & square & square & square & square textttJZ & square & square & square & square & square textttJC & square & square & square & square & square textttOUT & square & square & square & square & square textttHLT & square & square & square & square & square tabular center Baue nun den Decoder als Schaltung auf: Die Eingänge sind O_ O_ O_ O_ die Ausgänge sind die Steuersignale aus der Tabelle. Verwe nur textttAND- textttOR- und textttNOT-Gatter.
Solution:
center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & & checkmark & & & textttADD & checkmark & checkmark & & & textttSUB & checkmark & checkmark & & & textttSTA & & & checkmark & & textttJMP & & & & checkmark & textttJZ & & & & checkmark & textttJC & & & & checkmark & textttOUT & & & & & checkmark textttHLT & & & & & tabular center
Eine CPU erpretiert jeden Befehl anhand eines -Bit-Opcodes. Die folge Tabelle zeigt das Instruction Set unserer einfachen -Bit-CPU: center tabularcc|l|l multicolumnc|Opcode & Mnemonic & Operation hline texttt & & textttLDA addr & Lade Wert aus RAM-Adresse in Register~A texttt & & textttADD addr & Addiere Wert aus RAM-Adresse zu Register~A texttt & & textttSUB addr & Subtrahiere Wert aus RAM-Adresse von Register~A texttt & & textttSTA addr & Speichere Register~A in RAM-Adresse texttt & & textttJMP addr & Setze PC auf Adresse unbedingter Sprung texttt & & textttJZ addr & Springe falls Zero-Flag gesetzt texttt & & textttJC addr & Springe falls Carry-Flag gesetzt texttt & & textttOUT & Gib Register~A aus texttt & & textttHLT & Stopp tabular center Ein Decoder ist eine Schaltung die die vier OpcodBits O_ O_ O_ O_ liest und daraus Steuersignale für die einzelnen Komponenten der CPU erzeugt. Fülle zunächst die folge Tabelle aus -- welche Komponenten müssen bei welchem Befehl aktiv sein? center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & square & square & square & square & square textttADD & square & square & square & square & square textttSUB & square & square & square & square & square textttSTA & square & square & square & square & square textttJMP & square & square & square & square & square textttJZ & square & square & square & square & square textttJC & square & square & square & square & square textttOUT & square & square & square & square & square textttHLT & square & square & square & square & square tabular center Baue nun den Decoder als Schaltung auf: Die Eingänge sind O_ O_ O_ O_ die Ausgänge sind die Steuersignale aus der Tabelle. Verwe nur textttAND- textttOR- und textttNOT-Gatter.
Solution:
center tabularl|ccccc Mnemonic & ALU & RAM lesen & RAM schreiben & PC setzen & Ausgabe hline textttLDA & & checkmark & & & textttADD & checkmark & checkmark & & & textttSUB & checkmark & checkmark & & & textttSTA & & & checkmark & & textttJMP & & & & checkmark & textttJZ & & & & checkmark & textttJC & & & & checkmark & textttOUT & & & & & checkmark textttHLT & & & & & tabular center
Contained in these collections:
-
Digitalelektronik 3 by uz1 | 1

