🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #12560

Re: A theory for Big & Little Endian's origin

#12560
From: peter da silva
Date: Tue, 12 Jan 1993 15:03
23 lines
1302 bytes
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?"
Technical Details
Message-ID: <id.WFNW._A5@ferranti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter
References: <willmore.726511292@help.cc.iastate.edu> <16294@auspex-gw.auspex.com> <1993Jan11.192019.2922@lsl.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.arch
Path: arc1-ca.pugleaf.net!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