All answers must demonstrate an understanding of problem and solution. Please show your work if you would like to receive partial credit. Explanations that are incorrect will affect your grade even if correct explanations are also present.
This exam has 8 questions
1.- [15 points] Give the symbol and truth table for the following gates: AND, OR, XOR, NAND and NOR. Do not forget to include the inputs and outputs wires.
2.- [15 points] If the binary code for LOAD is (0011), for ADD is (0010), for STORE is (0110), for JMP is (0001) and for END is (0111). Assuming a 16 bits format, write the object code (binary representation) of the following program:
Note: use 4 bits for the op-code and 12 bits for the ADDR.
3.- Convert: [10 points]
4.- [10 points] Using binary numbers of 8 bits each, convert to binary and solve the following arithmetic operations using two’s complement representation:
5.- [10 points] Define the following terms: MBR and AC.
Try: 2 point.
6.- [10 points] Give the design, at the gate level, of a 2 inputs-4 outputs decoder, and using the designed decoder, give the design of a multiplexer at the gate level. You must give two separate designs: one for the decoder and another one for the multiplexer.
7.- [10 points] Give the design (at the gate level) for a combinational circuit based on X2X1X0 +Y2Y1Y0
Test the circuit using the given values and indicate the inputs, outputs before and after each gate.
8.- Using the assembly language of the tiny machine or MARIE assembly language, write a program that computes the following expression: z = a * b * c.. The computer will read in the input values (a, b, c) from the keyboard, and all the input values and the final result (z) have to be displayed on the screen. (20 points)
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more