answersLogoWhite

0


Best Answer

Registers are storage locations internal the the processor. CPU instructions operate on these values directly. On RISC processors, all data must be moved into a register before it can be operated. On CISC (Intel) chips, there are a few operations that can load data from RAM, process it, and save the result back out, but the fastest operations work directly with registers.

Also, there are registers that are set aside for certain tasks, these generally include a program counter, stack, and flags.

Each register also has a size that determines the maximum amount of data that can be processed at a time. The registers on Pentium chips, for example, are 32 bits.

Finally, there are generally only a few registers available on a processer. Intel chips, for example, have 6 general purpose registers, and several specialized registers including a base register, stack register, flags register, program counter, and some addressing registers.

Memory, or RAM, is located external to the CPU. Generally speaking, data has to be loaded into a CPU register from memory before the CPU can process it, RAM is much slower than registers, there is a lot more RAM than registers, and generally memory can be addressed on a byte boundaries, where registers may not be able to access all the bytes in a register.

To summarize: in general, registers are temporary storage in the CPU that holds the data the processor is currently working on, while RAM holds the program instructions and the data the program requires.

Hopefuly this helps,

--Eric Tolman

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Registers are very small but are extremely fast - access time is usually 1 cycle.

RAM is a much larger and slower memory that applications use as a scratch space. RAM usually has an access time of about 100 processor cycles

This answer is:
User Avatar

User Avatar

Wiki User

6y ago
  1. You cannot take the address of a register variable.
  2. Registers variables can be no larger than the word length of the machine.
  3. Registers can be accessed much faster than main memory.
  4. The machine cannot operate upon values in main memory, other than to move values to and from registers in order to operate upon them.
This answer is:
User Avatar

User Avatar

Wiki User

15y ago

explain the each program memory addressing mode?

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between register and memory
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is a difference between register and a memory location?

difference between register and memory location


What is the difference between register stacks and memory stacks?

Registers are normally memory spaces internal to the processor or very close to it. They are generally faster than main memory and will be small in size and will hold very frequently used data.Register stacks are a set of such register memory locations.Memory refers to computers main memory outside CPU. It is used to keep data and programs. Memory stack is a series of memory locations.The difference between register stack and memory stack is...


Memory address register is used to store?

memory addres register is used hold data addresses that refer to the data portion of the memory(by umar farooq.pk) memory addres register is used hold data addresses that refer to the data portion of the memory(by umar farooq.pk)


What ismeant by MAR MDR in computer?

MAR is memory address register. MDR is memory data register. These are registers part of the control unit (CU) in your cpu.


What is mean by registers in micro controller?

Registers are a special type of memory that are dedicated to micro-controllers (or CPUs). Controllers have register-memory for speed.The slowest part of any computer is the bus. The bus is the wiring that connects different components. In this case the micro-controller and main memory. While main memory and the micro-controller are both very fast, the wiring between them is slow.Should the micro-controller have to be slow to compensate for the slow wiring?The solution is to have register-memory. Memory physically part of the micro-controller that allows the controller to use it instantly. The controller can then move data from a register to RAM as soon as the bus is available.Register-memory comes from the concept of a Cash Register [1879]. A cash register is used to perform transactions and store money on it's way to a vault the same way a CPU or micro-controller stores data on its way to main memory.

Related questions

What is a difference between register and a memory location?

difference between register and memory location


What is the difference between flipflop latch register and memory?

FF-sincron L-asincron level sensitive and edge sensitive


What is difference between INR and INX instruction?

INR increment the content of register/memory by 1and result is stored in same place. INX increment the register pair by 1(no flags are affected)


What is the difference between the shadow register and hold register?

ml,/,


What is the difference between a regular memory card and an Ultra Memory card.?

What is the difference between a regular memory card and an Ultra Memory card


Difference between multistore and working model memory?

what is the difference between the memory store model and the working memory model?


What is a memory mapped register?

A memory mapped register is a register that has its specific address stored in a known memory location.


What is the difference between a cargo gear register and a chain register in ships?

It is same


What are differences between a bus and a register that are present in the CPU?

Major difference between Bus and Register is that B for Bus while R for Register


What is the difference between register stacks and memory stacks?

Registers are normally memory spaces internal to the processor or very close to it. They are generally faster than main memory and will be small in size and will hold very frequently used data.Register stacks are a set of such register memory locations.Memory refers to computers main memory outside CPU. It is used to keep data and programs. Memory stack is a series of memory locations.The difference between register stack and memory stack is...


What are the types of memory register?

what is register


What is the difference between register addressing mode and register indirect addressing mode?

Ans: In the register addressing mode the operands are in registers which reside within the CPU. Register-mode instructions are 1-byte instructions and can be executed within the CPU without the need to reference memory for operands. But in the Register-indirect addressing mode the instruction specifies a register or a pair of registers in the processor whose contains give the address of the operand in memory. This mode uses 1-byte instructions even though the operand is in memory. Before using a register-indirect mode instruction, the programmer must ensure that the address of the operand is placed in the processor register with a previous transfer-type instruction. A reference to the register is then equivalent to specifying a memory address.