(As others pointed out, your terminology is reversed. I will ignore that and 
get it "right.")

FWIW, humans do arithmetic little-endian. To do the sum

 1234
+5678
-----

You say "4 plus 8 equals 12, put down the 2 and carry the 1, 1 plus 3 plus 7 
equals 11, ..."

You do everything that way except division. (That's why thousand-digit division 
comes relatively easily to crypto. You just work your way through it left to 
right until you get to the end.)

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jesse 1 Robinson
Sent: Thursday, June 15, 2017 2:42 PM
To: [email protected]
Subject: Re: RFE? xlc compile option for C integers to be "Intel compat" or 
Little-Endian

I guess I could use a bit of (gentle) education. S/360  was the first 
architecture I learned, so little-endian seems pretty natural. My occasional 
forays into big-endian mystified me (still) as to why it would be preferable to 
interpret an address from right to left, including literal street addresses. I 
don't read decimal numbers that way. Why is it any more sensible for binary 
(hex)? Or am I misremembering my hazy knowledge of big-endian?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to