Chapter 2 Flashcards
(7 cards)
Computer architecture
Arithmetic/logic unit - Contains circuitry that performs operations on data
Control unit - Coordinating the machines activities
Register unit - Contains data storage cells, called registers, that are used for temporary storage of information within the CPU
Machine instruction categories
- Data transfer instructions move data from one location to another.
- Arithmetic/logic instructions tells the control unit to request an activity within the arithmetic/logic unit.
- Control instructions direct the computation of the program rather than the manipulation of data.
Machine instruction
instruction encoded as a bit patterns recognized by the CPU
Machine language
the set of all machine instructions recognized by the CPU
RISC
Is a machine that is designed to have a minimal amount of machine instructions. The technology is supposed to be more efficient, fast, and less expensive.
CISC
Is a CPU designed with more complex instructions that can better cope with the ever-increasing complex abilities of today’s software. Is more powerful.
Machine instruction examples
- Data transfer instructions: LOAD-instructions move data from memory to the CPU, and STORE-instructions move data from the CPU to memory.
- Arithmetic/logic instructions: the arithmetic operation ADD, and the Boolean operation AND.
- Control instructions: JUMP-instructions which direct the CPU to execute another than the next instruction.