Download presentation
Presentation is loading. Please wait.
1
CSCE 212 Quiz 8 – 3/23/11 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? 2.What is the first thing that occurs for any instruction? 3.How does the processor determine whether to branch or not for a beq instruction? 2a (extra credit): What is the other action that occurs for all instructions?
2
CSCE 212 Quiz 8 Answers 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? Combinational type – outputs depend on current inputs (operates on data) – does not save any information
3
CSCE 212 Quiz 8 Answers 2.What is the first thing that occurs for any instruction? – Instruction fetched from the memory address designated by the program counter (PC)
4
CSCE 212 Quiz 8 Answers 3.How does the processor determine whether to branch or not for a beq instruction? – Subtracts the two values held in the given registers: if zero, values are equal
5
CSCE 212 Quiz 8 Answers 2a (extra credit): What is the other action that occurs for all instructions? Read register(s)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.