Quiz_sol2 - ECE 445 — Computer Organization Name 14 G l...

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

View Full Document Right Arrow Icon
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ECE 445 — Computer Organization Name 14?? G#: l' . ‘TF’i 5 . Quiz #2 TD 2"0 Wednesday, September 16, 2009 1. Given the following MEPS Assembly Language instruction: sw $t1, 28($sl) D1 (a) Indicate the format type for this instruction. 1- [if] (b) Identify each instruction field and its decimal value. Field Name ‘ 1 ____ Decimal xiii—the [1'3 eFeaiZe. Ll-3 (215‘?) m . {Ls ‘ | ' t1 I es an_ i , 33 imminne _+ as (raw) Note: there may be more mws in the Iabie than are needed. it] (c) Briefly describe the function of this instruction. Til-m s Cfllki'C/Vv‘i's a]; W§E 15+! ”in mam-8 2. Indicate a si_ng1§ MIPS Assembly Language instruction to implement each of the following functions: [13 (a) Clear register $30 (i.e. set all bits in register $s0 to 0). serial $30, {emu ., if 559130 [7/] (b) A: B; (assume thatA —+ $31 and B —> $tl) Hint: consider what this HLL instruction is doing. we $31) #‘So , $%Eflo ECE 445 - Computer Organization 3. Given the following MIPS Machine Language instruction: lOOO £01001010000000000001000000 [:3] (3) Identify the opeode. Specify its value in binary, hexadecimal, and decimal. Q Fwy 1;; E: b {1—5 Binary Hexadecimal Decimal “— 1000 l '1 7,3 56 [C] [ij [(1 (13 0)) Indicate the name of this MIPS instruction. Lea/o men (Lew-l 4. Given the following MIPS Machine Language instruction: 000000‘01000b100 l01001-100000 00000 5 apaie TLS IZ-“i‘ P—D $8M: Wye? LS] (a) Disa55emble the instmcfion (i.e. indicate the MIPS Assembly Language equivalent). {Loki jgahla 5th); $*‘ {t} (b) Indicate the instruction format type. R ...
View Full 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