Results 1 to 3 of 3

What is Memory alignment??

This is a discussion on What is Memory alignment?? within the Programming forums, part of the Web Designing & Development category; The term alignment primarily means the tendency of an address pointer value to be a multiple of some power of ...

  1. #1
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Thumbs up What is Memory alignment??

    The term alignment primarily means the tendency of an address pointer value to be a multiple of some power of two. So a pointer with two byte alignment has a zero in the least significant bit. And a pointer with four byte alignment has a zero in both the two least significant bits. And so on. More alignment means a longer sequence of zero bits in the lowest bits of a pointer.

  2. #2
    Senior Member
    Join Date
    Jan 2016
    Posts
    145

    Default Re: What is Memory alignment??


  3. #3
    Senior Member
    Join Date
    Jan 2012
    Posts
    2,014

    Default Re: What is Memory alignment??

    Alignment refers to the arrangement of data in memory, and specifically deals with the issue of accessing data as proper units of information from main memory.

Tags for this Thread