• Technus
    link
    fedilink
    English
    arrow-up
    36
    ·
    8 个月前

    I actually added detail that wasn’t already discussed in the article?

    • AlphaAutist@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      ·
      8 个月前

      I actually didn’t know that about addressing before your comment and so I found it very interesting, thanks

      • Technus
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 个月前

        Some applications use those unused bits to add tags to pointers but it’s important to mask those out before attempting to dereference the address. I’m not sure about ARM but x86-64 requires bits 49-63 to be copies of bit 48 (kinda like sign-extension), ironically to ensure that no one is using those bits to store extra data.