Top "Memory-address" questions

A number used to indicate a particular location in computer's memory.

Basic use of immediates vs. square brackets in YASM/NASM x86 assembly

Suppose I have the following declared: section .bss buffer resb 1 And these instructions follow in section .text: mov al, 5 ; mov-immediate …

assembly x86 nasm memory-address yasm
How can I reliably get an object's address when operator& is overloaded?

Consider the following program: struct ghost { // ghosts like to pretend that they don't exist ghost* operator&() const volatile { return 0; } }; …

c++ c++11 operator-overloading memory-address
c - cannot take address of bit-field

Why cannot take address of bit-field? How do I make a pointer to bit-field? Here is the code... struct bitfield { …

c pointers syntax-error bit-fields memory-address
What exactly is the purpose of the (asterisk) in pointers?

I'm new to programming and I'm trying to wrap my head around the idea of 'pointers'. int main() { int x = 5; …

c++ pointers memory-address dereference
Accessing direct memory addresses and obtaining the values in C++

I was wondering if it was possible to access a direct block of memory using C/C++ and grab the …

c++ pointers memory memory-address
How to manually symbolicate a crash log with atos

After searching all over the internet to find a way to symbolicate my crash logs I received from Apple, I …

xcode terminal memory-address symbolicatecrash crash-log
What is the address of a function in a C++ program?

As the function is set of instruction stored in one contiguous block of memory. And address of a function (entry …

c++ function function-pointers memory-address
Finding Memory Address of a Parallel Port on Linux

I'm trying to find the base (memory) address of a parallel port I have connected to my laptop via a …

linux pci parallel-port memory-address
Can an address be assigned to a variable in C?

Is it possible to assign a variable the address you want, in the memory? I tried to do so but …

c pointers memory-address addressof address-operator