Quiz 5 with Answer Key for Machine Dependent Program | ECS 050, Quizzes of Computer Science

Material Type: Quiz; Class: Machine Dependent Prog; Subject: Engineering Computer Science; University: University of California - Davis; Term: Winter 2004;

Typology: Quizzes

Pre 2010

Uploaded on 07/31/2009

koofers-user-5av
koofers-user-5av 🇺🇸

4

(1)

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Name: _____Answer Key_________
ECS 50 Winter 2004 Section 1 Quiz 5 3/5/2004
1. Consider the following instructions in RISC machine,
li $2, 3
sw $2, x
MIPS are actually taking ______ instructions to do that.
A. 2
B. 3
C. 4
D. 5
li = 1 instruction
sw = 3 instructions
Answer: _____C______
2. In MIPS, return address of a subroutine is put on
A. Stack
B. Register $1
C. Register $8
D. Register $31
Answer: _____D_______

Partial preview of the text

Download Quiz 5 with Answer Key for Machine Dependent Program | ECS 050 and more Quizzes Computer Science in PDF only on Docsity!

Name: _____Answer Key_________

ECS 50 Winter 2004 Section 1 Quiz 5 3/5/

  1. Consider the following instructions in RISC machine, li $2, 3 sw $2, x MIPS are actually taking ______ instructions to do that.

A. 2

B. 3

C. 4

D. 5

li = 1 instruction sw = 3 instructions

Answer: _____C______

  1. In MIPS, return address of a subroutine is put on

A. Stack B. Register $ C. Register $ D. Register $

Answer: _____D_______