1.1.1.Characteristics of contemporary processors (chp 1) Flashcards
Arithmetic Logic Unit (ALU)
The ALU completes all of the arithmetical and logical operations. Including all math operations i.e. addition, subtraction with floating numbers.
Logic operations include boolean logic operations such as AND OR NOT.
The Control Unit (CU)
- Controls and coordinates the activities of the CPU
- Manages the flow of data between the CPU and other devices
- Accepting the next instruction
- Decoding instructions
Registers
Small memory cells that operate at a very high speed. They’re used to temporarily store data and all arithmetic, logical and shift operations occur in these registers.
Program Counter (PC)
holds the address of the next instruction to be executed.
Accumulator (ACC)
stores results from calculations performed by the ALU
Memory Address Register (MAR)
holds address of a location that is to be read from or written to.
Memory Data Register (MDR)
temporarily stores data that has been read or data that needs to be written.
Current Instruction Register (CIR)
holds the current instruction being executed , divided up into operand and opcode.
Buses
- set of parallel wires which connects two or more components inside the CPU.
- width of the bus is the no. of parallel wires that bus has
- width is proportional to the no. of bits that can be transferred simultaneously at any given time.
Address Bus
- used to transmit the memory addresses specifying where data is to be sent to or retrieved from.
- the width of the address bus is proportional to the number of addressable memory locations.
Data Bus
- bi-directional bus
- used for transporting data and instructions between components.
Control Bus
- bi-directional bus used to transmit control signals between internal and external components.
- it coordinates the use of the address and data buses and provide status info between system components.
- sends control signals.
Assembly Language
- low level language that is next level up from machine code. It uses mnemonics to represent machine code, making it easier to remember and use.
- commands from assembly language are processor specific
- one to one relationship with specific assembler.
LDA
means to load the value in a memory location into the accumulator.
STA
means to store the value in the accumulator into a given memory location.