CSC
Assignment3 result.pdf

5 5 and the list of instructions in table 5 2 for

Info icon This preview shows pages 2–4. Sign up to view the full content.

Consider the instruction formats of the basic computer in Fig. 5-5 and the list of instructions in Table 5-2. For each of the following 16-bit instructions, give the equivalent 16 bit binary code, write the equivalent RTL statement and find the final binary value of the destination when the instruction is executed. All values are given in hexadecimals and M=memory. a. Complete the following tables using the instruction: C450, where, M[450]=0890, and M[890]= AF02. Instruction code (Hexadecimal) Instruction(binary) Instruction RTL Final value (Hexadecimal) Final value (binary) b. Complete the following tables using the instruction: 4450, where M[450]= 0990 Final value (Hexadecimal) Final value (binary) c. 7040, where AC=5007 and E=0 Instruction code (Hexadecimal) Instruction(binary) Instruction RTL Final value (Hexadecimal) Final value (binary) 4- The following microoperations can’t be executed during a single clock pulse in the system shown in Fig. 5-4. Specify the sequence of microoperations that will perform the operation. Instruction code (Hexadecimal) Instruction(binary) Instruction RTL S S B C A ALU MUX
Image of page 2

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

a. Single microoperation Sequence of microoperations M[PC] DR b. Single microoperation Sequence of microoperations AC DR + M[AR] c. Single microoperation Sequence of microoperations AC TR d- Single microoperation Sequence of microoperations AC M[AR] e- Single microoperation Sequence of microoperations M[AR] M[AR]+1 5- A computer uses a memory with 8 bits in each addressable word. It has the following registers: PC and AR, which are used for addresses only and AC, DR, IR, TR (32 bits each). A memory-reference instruction consists of 32 bits; an 8-bit operation-code and an address (in the next three bytes).
Image of page 3
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern