home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter
- From: peter@ferranti.com (peter da silva)
- Subject: Re: A theory for Big & Little Endian's origin
- Message-ID: <id.WFNW._A5@ferranti.com>
- Organization: Xenix Support, FICC
- References: <willmore.726511292@help.cc.iastate.edu> <16294@auspex-gw.auspex.com> <1993Jan11.192019.2922@lsl.co.uk>
- Date: Tue, 12 Jan 1993 15:03:49 GMT
- Lines: 23
-
- In article <1993Jan11.192019.2922@lsl.co.uk> snail@lsl.co.uk writes:
- > Little endian sucks if you're an assembly freak (such as I was for many years)
- > an you look at memory dumps for multi-byte values like addresses, the nibbles
- > are all in the wrong order:-
-
- > Big Endian : $1234
- > Little Endian : $3412
-
- So print your dumps backwards. DEC's VAX macro-assembler does something
- like this:
-
-
- HEX ADDR CODE
- 7 6 5 4 3 2 1 0
- 1234 00EC 0100 INSTR #1234
- 90 0104 INSTR
-
- Just a DEC hardware junkie.
- --
- Peter da Silva `-_-'
- Ferranti International Controls Corporation 'U`
- Sugar Land, TX 77487-5012 USA
- +1 713 274 5180 "Zure otsoa besarkatu al duzu gaur?"
-