Big endian naming: open_file
Little endian naming: lefi_enop
If you understand this joke you’re a super nerd.
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
Big endian naming: open_file
Little endian naming: lefi_enop
If you understand this joke you’re a super nerd.
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
Jonathan Lamothe
in reply to Maddie, Wizard of Installs 🪄 • •debug
program and being really confused at how it was pushing 16-bit registers onto the stack.like this
Maddie, Wizard of Installs 🪄 and Fay 🏳️🌈 like this.
Maddie, Wizard of Installs 🪄
in reply to Jonathan Lamothe • • •@me I think that’s probably a pretty universal experience, at least in the subset of people that have written assembly / worked directly with architecture endianness.
It took a lot of 6502 ASM to stop being utterly bewildered every time I looked at machine code or an emulator’s memory monitor.
Jonathan Lamothe likes this.
Jonathan Lamothe
in reply to Maddie, Wizard of Installs 🪄 • •like this
Maddie, Wizard of Installs 🪄 and Fay 🏳️🌈 like this.
Jim Rea
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Jim Rea • •Jim Rea
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Jim Rea • •Jim Rea
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Jim Rea • •@Jim Rea So I decided to look more deeply into this. I wanted to learn about how numbers work in Arabic. This is what I've found after a cursory search:
The number 23 is read essentially as three and twenty, which at a glance seems to corroborate the idea of reading the least significant digit first, however this pattern breaks when you get into numbers larger than 100, so... 🤷♂️
Source: storylearning.com/learn/arabic…
I found the following excerpt to be interesting. Interpret it as seems appropriate:
It feels odd to me that they'd "reverse" the order of the digits like that, especially when it's their own counting system.
This is still conjecture on my part though.
Jim Rea
in reply to Jonathan Lamothe • • •Gregor Richards
in reply to Maddie, Wizard of Installs 🪄 • • •Amusingly, I was having exactly this debate recently, and ended up having to write a paragraph about how little-endian does *not* mean that the bits within a byte go from most to least while the bytes go from least to most, but it may often feel that way because hex editors show bytes as two big-endian hex digits, creating the illusion of a mixed ordering.
Fun related fact I discovered: Ethernet sends least-significant bit first, so IP over Ethernet is mixed 🤪
Jonathan Lamothe
in reply to Gregor Richards • •Maddie, Wizard of Installs 🪄 likes this.
silverwizard
in reply to Maddie, Wizard of Installs 🪄 • • •Jonathan Lamothe
in reply to silverwizard • •Maddie, Wizard of Installs 🪄 likes this.