About Me

Friday, February 3, 2012

Register Memory

Register is a small memory access with very high-speed access.

Register used to store data and instructions were processed, while
that the data and other instructions are queued is processed will be stored in main memory. Registers in the CPU consists of:


1.Instruction Register (IR) used to store instructions that are
processed.


2.Program Counter (PC) is the register used to store address
location of main memory that contains instructions that are being processed. During the process of underway, the contents of the PC converted into main memory address containing instructions next to be processed. This allows to trace trail the next instruction in the main memory.

3. General purpose registers, the register, which has a wide range of functions that is associated with the data that is being processed. For example, if used for holds the data that is being processed is referred to as the register operands, whereas If it is used to hold the results processed are known as accumulator.

4. Memory Data Register (MDR), which is the register used to hold data or instruction that is sent from main memory to CPU, or holds the data to be saved to the main memory as a result of refined CPU.


5. Memory Address Register (MAR) is used to hold the address of data or
instruction in the main memory to be taken or which will be placed.


Now, Most computer use 9 register 32 bit, That was :
EAX      : Extended Accumulator Register
EBX      : Extended Base Register
ECX      : Extended Counter Register
EDX      : Extended Data Register
ESI        : Extended Source Index
EDI        : Extended Destination Index
EBP       : Extended Base Pointer
ESP       : Extended Stack Pointer
EIP        : Extended Instruction Pointer 

No comments:

Post a Comment