answersLogoWhite

0

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)

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

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 is the use of register keyword in C?

The register keyword tells the compiler to store the variable onto the CPU register if space on the register is available. The reasoning is that register operations are always faster than memory operations and thus if used correctly, it can speed up an algorithm. However, the register keyword is a somewhat antiquated procedure since for quite a long time the optimizer in modern compilers are smart enough to detect when storing a variable on the register will be advantageous and will do so during optimization. There for, suggesting to the compiler to store a variable on the register can only make things slower if used incorrectly.The register keyword tells the compiler to store the variable onto the CPU register if space on the register is available. The reasoning is that register operations are always faster than memory operations and thus if used correctly, it can speed up an algorithm. However, the register keyword is a somewhat antiquated procedure since for quite a long time the optimizer in modern compilers are smart enough to detect when storing a variable on the register will be advantageous and will do so during optimization. There for, suggesting to the compiler to store a variable on the register can only make things slower if used incorrectly.


What is segment address?

A segment address is the contents of a segment register, CS, DS, ES, or SS. It is used after effective address generation to provide an offset in physical memory, by multiplying the segment register by 16 and then adding it to the effective address, giving a 20 bit address. This gives you addressability to 65536 segments of 65536 bytes, each separated by 16 bytes. The register used is usually implicit based on use; CS for code, DS for data, ES for certain string operations, and SS for stack. A segment override prefix can be used to select a different segment register.


Used to store data when the data is not being used in memory?

A storage device is used to store data when data is not being used in memory.


How do pointer work in c program?

Pointer can be defined as variable that is used to store memory address , usually the location another variable in memory. Pointers provide a means through which memory location of a variable can be directly accessed.

Related Questions

What is index register?

A register used to store an address of something in memory. Its invention eliminated the need to write self modifying code.


How mar and mdr work?

MAR (Memory Address Register) holds the address of the memory location to be accessed or written to in the memory unit, whereas MDR (Memory Data Register) holds the actual data that is to be written to a memory location or data read from a memory location. MAR is used to specify the address, while MDR is used to temporarily store the data during memory operations.


What do you mean by MAR and MBR in computer organization?

MAR-memory address register used stored the address of the memory loaction MBR- memory buffer register is the actully data.


What is address register?

this is the memory that hold data temperaly and can be used in future


Stack register are used to store?

The stack register contains the address of the last item pushed on the stack. The stack is a region of memory used for temporary storage of instruction addresses and register values in a Last-In-First-Out (nested) structure. It is used for interrupts and subroutine calls.


Cache memory and register memory?

Register memory are smaller in size than cache memory and registers are faster than cache..Cache memory store the frequently used data from main memory..


Fad and fad and fadp are all what?

These are different types of memory registers in a computer's central processing unit (CPU). The FAD register is used for storing the address of a memory location, the FADP register is used for storing the address of an instruction, and the FADP register is used for storing the address of the next instruction to be executed.


What is the difference between program counter and memory address register?

The program counter (PC) is a register that holds the address of the next instruction to be executed in a program sequence, effectively guiding the flow of execution. In contrast, the memory address register (MAR) is used to store the address of a memory location that the CPU wants to read from or write to, acting as an intermediary during memory operations. While the PC tracks instruction flow, the MAR focuses on memory access for data and instructions. Both play crucial roles in the CPU's operation but serve distinct purposes.


What is memory data register?

The MAR is a special register in the sense that each time it is accessed from the outside, memory senses it and considers the new content of the MAR an address.


What are the Functions of the memory buffer register?

In other words, MAR holds the memory location of data that needs to be accessed. When reading from memory, data addressed by MAR is fed into the MDR (memory data register) and then used by the CPU. When writing to memory, the CPU writes data from MDR to the memory location whose address is stored in MAR. The Memory Address Register is half of a minimal interface between a microprogram and computer storage. The other half is a memory data register. Far more complex memory interfaces exist, but this is the least that can work.


What is register indirect?

Register indirect addressing is a mode of addressing in computer architecture where the address of the operand is held in a register rather than being specified directly in the instruction. When an instruction uses register indirect addressing, the CPU accesses the memory location pointed to by the register to retrieve or store data. This approach allows for more flexible and efficient memory access, as the address can be easily modified by changing the value in the register. It is commonly used in assembly language and low-level programming for tasks like pointer manipulation.


What is data register?

It is used to hold data or the memory address that contains either the next place of data or an instruction that is to be used .