Label each statement with TRUE or FALSE (a) InMIPS,wecantransfera32bitimmediaten
ID: 3839030 • Letter: L
Question
Label each statement with TRUE or FALSE
(a) InMIPS,wecantransfera32bitimmediatenumbertoaregisterusingoneinstruction.
(b) Procedure inlining, which replaces a call to a function by the body of the function, is a high level
optimization of transformation from high level language to machine code.
(c) When designing instruction set, keeping all instructions various sizes will simply the design.
(d) DynamicLinkedLibraryisanexecutablecodemodulethatisloadedondemandandlinkedat
run time.
(e) Compiler affects the CPU performance (execution time) in terms of the instruction count; it
doesn’t affect CPI and clock rate.
Explanation / Answer
ANSWER:
(a) In MIPS, we can transfer a 32 bit immediate number to a register using one instruction. False
It would require two instructions.
(b) Procedure in lining, which replaces a call to a function by the body of the function, is a high level Optimization of transformation from high level language to machine code. True
(c) When designing instruction set, keeping all instructions various sizes will simply the design. False
we need instructions to do basic maths, data comparisons, deal with data of different sizes, and instructions to branch and jump.
(d) Dynamic Linked Library is an executable code module that is loaded on demand and linked at run time. True
(e) Compiler affects the CPU performance (execution time) in terms of the instruction count; it doesn’t affect CPI and clock rate. False
Compiler affects the CPU performance (execution time) in terms of the instruction count; and instruction count will affect the CPI and clock rate. Hence, Compiler indirectly affecting CPI and Clock rate.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.