Professional Documents
Culture Documents
Lesson10 Registers 1
Lesson10 Registers 1
is one of a small set of data holding These are the top of the memory
places that are part of the computer hierarchy, and are the fastest way for
processor. the system to manipulate data. In a
is a very fast computer memory used very simple microprocessor, it
to speed the execution of computer consists of a single memory location,
programs . A register may hold an usually called an accumulator.
instruction, a storage address, or any are normally measured by number of
kind of data (such as a bit sequence bits they can hold .
or individual characters).
CENTRAL PROCESSING UNIT
PC-Program counter
Stores instruction in order.
Keeps a check on where the next instruction is in main memory.
MAR-Memory Address
Temporarily stores address of next instruction that needs to be
executed by processor.
Addresses are stored so processor knows where in main memory to
look for the instruction.
Addresses are put into the MAR by program counter.
MDR-Memory data register
Once in address is in the mar, the processor can fetch the
instruction from main memory and a copy of the instruction
is put in MDR (Temporarily).
Accumulator
Stores any values that are needed as part of
arithmetic operation .
The only general purpose register that we’ve looked at.
All of the rest are known as special purpose registers.
RISC AND CISC
are technologies on which design and architecture of microprocessor is based
1 Small set of instruction with fixed (32 Large set of instructions with variable
bits) format and most register based format (16-64 bits per instructions)
instructions.