Unformatted text preview:

Name Homework 6 Computer Organization Due March 11 2011 F by 3 PM 1 Translate the given MARIE assembly language into machine language Address Label Assembly Language Machine Language in hex 10016 10116 10216 10316 10416 10516 10616 10716 10816 10916 10A16 10B16 LOAD X IF SKIPCOND 800 JUMP ELSE STORE Y JUMP END IF ELSE ADD Y SUBT ONE STORE Y END IF HALT X DEC 10 Y DEC 0 ONE DEC 1 2 Translate the above MARIE assembly language into high level language pseudo code 3 Which control signals should contain a 1 for each steps in the JUMPI instruction Incr Mem Mem Load Step RTN Step P5 P4 P3 P2 P1 P0 Cr PC Read Write ALT MAR b PC Fetch T0 MBR b M MAR T1 IR b MBR T2 Decode IR 15 12 PC b PC 1 T3 Get operand T4 MAR b IR 11 0 Execute T5 MBR b M MAR T6 PC b MBR T7 4 Draw the partial combinational logic of the hardwired control unit to handle the JUMPI opcode C16 instruction Print a copy of the second page of lecture 15 handout from http www cs uni edu fienup cs041s11 lectures lec15 questions pdf 5 Explain why a microprogrammed control unit is slower than a hardwired control unit HW 6 Page 1 Name 6 Extend the partial microprogram below to include microoperations to decode and implement the execution of the instructions ADDI and JUMPI Fill in only the bolded boxes Revised Figure 4 21 Partial Microprogram Part of Cycle Fetch Decode Jump Table Execute ADDI Execute JUMPI RTN of MicroOp1 MAR b PC MBR b M MAR IR b MBR PC b PC 1 If ADD Jump If LOAD Jump If STORE Jump If SKIPCOND Jump If SUBT Jump If JUMP Jump If ADDI Jump If CLEAR Jump If JNS Jump If JUMPI Jump If INPUT Jump If OUTPUT Jump If HALT Jump MAR b IR 11 0 MBR b M MAR MAR b MBR MBR b M MAR AC b AC MBR MAR b IR 11 0 MBR b M MAR PC b MBR Addr 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 MicroOp1 MicroOp2 01001 01100 00101 10000 10111 10111 10111 10111 10111 10111 10111 10111 10111 10111 10111 10111 10111 0000 0000 0000 0000 00110 00010 00100 10000 01000 10010 10110 10100 00000 11000 01010 01100 01110 Jump 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 Dest 0 0 0 0 HW 6 Page 2


View Full Document

UNI CS 1410 - Homework #6 Computer Organization

Loading Unlocking...
Login

Join to view Homework #6 Computer Organization and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Homework #6 Computer Organization and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?