HW1 - register transfer, and the next state. (The control...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 662 (Sp2009) Homework 1 Due 4:30pm April 10, 2009 1. For the simple computer developed in class, consider the following program starting in memory location 0: 0000000000001010 0010000000000011 0010000000000100 0010000000000010 0001000000000000 Write the first 30 microinstructions which need to be executed. Assume the content of location 10 is 10 and that of AC is zero before the program is executed. What will be the content of AC after the execution? 2. For the simple computer developed in class, the register transfers for 3 basic instructions were given. Suppose the memory is increased to 64K words so that 16 address bits are needed. Instructions are now 2 words long each. The first word is the opcode and the second is the address. For each case below, show the state number,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: register transfer, and the next state. (The control lines activated need not be shown.) Remember that only one word can be read from memory at a time. (a) Write the microinstructions for the fetch phase. (b) Write the microinstructions for the execution phase for the ADD instruction with direct addressing. Example: the two word instruction 0, 40 causes: [AC]+[40] AC. (c) Write the microinstructions for the execution phase for the ADD instruction with indirect addressing. Example: the two word instruction 1, 40 causes: [AC]+[[40]] AC . (d) Write the microinstructions for the execution phase for the JMP instruction. Example: the two word instruction 2, 40 causes: 40 PC. 3. Problem 1.6 of the Textbook....
View Full Document

This note was uploaded on 02/21/2011 for the course ECE 662 taught by Professor Orin,d during the Winter '08 term at Ohio State.

Ask a homework question - tutors are online