This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
"Endian and objdump"
- To: binutils at sources dot redhat dot com
- Subject: "Endian and objdump"
- From: xinant at cognigine dot com (Xinan Tang)
- Date: Thu, 14 Jun 2001 15:00:10 -0700
- Organization: Cognigine Corporation
Hi
I have a question about the endianess.
If an assembler is configured as the little endian mode
for both the host (Linux) and the target, and the binary
code expected should looks like
0x01020304
Then using 'objdump', should we expect to see?
0: 0x01020304
4:
or
0: 0x04030201
4:
I.e., on the display screen, which side is the lower end (left or
right) ?
Thanks
--
Dr. Xinan Tang Member of Technical Staff
EMail: xinant@cognigine.com Cognigine Corp.
Voice: 510.743.4930 6120 Stevenson Boulevard
Fax: 510.743.4910 Fremont, CA 94538