What is endianism ?
In other way - What is the byte order of your machine ?
Or in some other way How do u convert the byte order on your UNIX machine ?
Endianism is nothing but the described byte order in ur machine memory, it is of 2 types one is Little and other is Big-Endianism.
simply - ordering of bytes to store a particular data inside ur computer memory
Little Endian means that the lower order byte of the number is stored in memory at the lowest address, and the higher order byte is stored at the highest address. That is, the little end comes first.
For example, a 4 byte, 32-bit integer
Byte3 Byte2 Byte1 Byte0
will be arranged in memory as follows:
Base_Address+0 Byte0
Base_Address+1 Byte1
Base_Address+2 Byte2
Base_Address+3 Byte3
Intel processors use "Little Endian" byte order.
Big Endian means that the higher order byte of the number is stored in memory at the lowest address, and the lower order byte at the highest address. The big end comes first.
Base_Address+0 Byte3
Base_Address+1 Byte2
Base_Address+2 Byte1
Base_Address+3 Byte0
Motorola, Solaris processors use "Big Endian" byte order.
So now How to decide the byte order in ur machine?
here is the Solaris command for you to decide that !
echo abcd | od -t xS
A little-endian machine would output:
0000000 6261 6463 000a
while a big-endian machine would output:
0000000 6162 6364 0a00
Hope this helps - if u come to any other ways please comment it here.
where is od installed on Solaris ?
Sunday, December 14, 2008
//
Labels:
Solaris
//
0
comments
//
0 comments to "What is endianism? How to determine machine endianism on Unix ?"
Popular Posts
-
The best solution to know about these init levels is to understand the " man init " command output on Unix. There are basically 8...
-
How to Unlock BSNL 3G data card to use it with Airtel and Vodafone Model no : LW272 ? How to unlock BSNL 3G data card( Model no : LW272 )us...
-
How to transfer bike registration from one State to other (Karnataka to Andhra)?? Most of us having two wheelers purchased and registered in...
-
ఓం శ్రీ స్వామియే శరణం ఆయ్యప్ప!! Related posts : Trip to Sabarimala - Part 1 Trip to Sabarimala - Part 2 Ayappa Deeksha required things...
-
Following are some of interesting blogs I found till now ...please comment to add your blog here. Blogs in English : http://nitawriter.word...
Popular posts
- Airtel and vodafone GPRS settings for pocket PC phones
- Andhra 2 America
- Ayyappa Deeksha required things
- Blogs I watch !
- Captions for your bike
- DB2 FAQs
- Deepavali Vs The Goddes of sleep
- ETV - Dhee D2 D3
- Evolution of smoking in India Women
- How to make credit card payments?
- init 0, init 1, init 2 ..
- Java-J2EE interview preparation
- mCheck Application jar or jad download
- My SQL FAQs
- My Travelogues
- Old is blod - New is italic
- Online pay methids for credit cards
- Oracle FAQs
- Pilgrimages
- Smoking in Indian Women
- Technology Vs Humans
- Twitter feeds for all Telugu stars on single page.
- Unix best practices
- Unix FAQs
Buffs ...
Tags
Powered by WidgetsForFree
Archives
-
▼
2008
(132)
-
▼
December
(9)
- Holy trip to Guruvayur, Chottanikara, Ayyappa Saba...
- Holy trip to Ayyppa Sabarimala - Part 1
- Cold water bath in Bangalore winter
- Gems in the devine telugu movies jewellery - Part 1
- What is endianism? How to determine machine endian...
- Credit cards - banks and phone numbers
- People’s anger on politics - “Peace March” in Mumb...
- Solution to Terrorists attacks in India !
- Unix commands mapping on diffirent Unix flavors(HP...
-
▼
December
(9)
Post a Comment
Whoever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs, u can at least use Name/URL option which doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")