HW4_key - Homework #4: A Solution Reading: Sections 3.2, 4,...

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

View Full Document Right Arrow Icon
Homework #4: A Solution Reading: Sections 3.2, 4, 7.2, 9.3; Lab manual: Chapter 2 Problems: HW4-1. Do review questions 1, 5, 6, 7, 11 (5 pts each) on p. 154 In addition, for question 6, state what else pseudo-operations are called. 1) Differences between RISC and CISC include: 1) number of clock cycles per instruction; 2) length of instructions; 3) number of instruction formats; 4) number of operands per instruction; 5) number of functions per instruction (code density); 6) whether it is a load/store architecture, i.e., whether arithmetic and logical operations cannot access memory; 7) ease of implementing pipelined execution of instructions. 5) The part of memory that stores instructions may be considered an array of instruction slots . A load delay slot is the instruction slot following a LOAD instruction; in machines that have such slots, the effect of the LOAD instruction is delayed until after the instruction in the load delay slot is executed. 6) Pseudo-operations are operations not directly implemented by the machine but recognized by the assembler. Pseudo-ops are also called synthetic operations or synthetic instructions. In Sparc, mov is a synthetic instruction. 7) Constants are called immediate operands because they are encoded directly in the instruction. They are immediately available after the fetch step of the instruction fetch/execution cycle. 11) The instruction slot after a branch instruction is called the
Background image of page 1

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

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

Page1 / 5

HW4_key - Homework #4: A Solution Reading: Sections 3.2, 4,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online