• Feeling isolated? You're not alone.

    Join 20,000+ people who understand exactly how your day went. Whether you're newly diagnosed, self-identified, or supporting someone you love – this is a space where you don't have to explain yourself.

    Join the Conversation → It's free, anonymous, and supportive.

    As a member, you'll get:

    • A community that actually gets it – no judgment, no explanations needed
    • Private forums for sensitive topics (hidden from search engines)
    • Real-time chat with others who share your experiences
    • Your own blog to document your journey

    You've found your people. Create your free account

Does LIFO have anything to do with Little Endian

GoofKing

All your bases are belong to us
Because if some address or data goes into the stack, for example say the hex AD08 and it's LIFO or Last In First Out, then it'll come out 08 00 0D 0A (or is it 0A 0D 00 08 ?) right ? I

'm having a little difficulty trying to understand this and feel like an idiot because I'm struggling with it ...
 
Nope, Last In First Out refers to the way the stack pointer works. Little/Big Endian refers to byte order for memory storage.
i.e. if you have a data word 0080, it can be stored as 8000 or 0080 depending on your processor endianess.
Some architectures go most significant byte , least significant byte
Others go LSB, MSB

Endianness - Wikipedia, the free encyclopedia
 
Nope, Last In First Out refers to the way the stack pointer works. Little/Big Endian refers to byte order for memory storage.
i.e. if you have a data word 0080, it can be stored as 8000 or 0080 depending on your processor endianess.
Some architectures go most significant byte , least significant byte
Others go LSB, MSB

Endianness - Wikipedia, the free encyclopedia

I forgot about the stack pointer :/ My bad ...
 
If it makes you feel less dumb, I have no idea what any of the above means! (Except that "Big Endian/Little Endian" is a reference to the novel Gulliver's Travels).
 

New Threads

Top Bottom