• Welcome to Autism Forums, a friendly forum to discuss Aspergers Syndrome, Autism, High Functioning Autism and related conditions.

    Your voice is missing! You will need to register to get access to the following site features:
    • Reply to discussions and create your own threads.
    • Our modern chat room. No add-ons or extensions required, just login and start chatting!
    • Private Member only forums for more serious discussions that you may wish to not have guests or search engines access to.
    • Your very own blog. Write about anything you like on your own individual blog.

    We hope to see you as a part of our community soon! Please also check us out @ https://www.twitter.com/aspiescentral

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