Chapter 2 Flashcards
1
Q
Instruction Execution in order.
When does this happen?
A
- Fetch next instruction from memory
- Change program counter to point to next instruction
- Determine type of instruction just fetched
- if instruction uses a word in memory, locate it
- Fetch word. If needed, into a CPU register
- Execute Instruction
It occurs whenever power is applied.
2
Q
Benefits of Machines with interpreted instructions?
A
- Ability to fix incorrectly implemented instructions in field, even make up for design deficiencies in basic hardware.
- Opportunity to add new instructions at minimal cost, even after delivery of machine
- Structured design that permitted efficient development, testing, and documenting of complex instructions
3
Q
Types of Instructions
A
Some will provide or pull information,,
Some will alter information
EX: ‘Add Register 2’ would be completed in perhaps register 1
4
Q
Design Principles for modern computers
A
- All instructions directly executed by hardware
- Maximize rate at which instructions are issued
- Instructions should be easy to decode
- Only loads and stores should reference memory
- Provide plenty of Registers.