Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Indian ?
@ 1998-07-31  4:00 ludo
  1998-07-31  4:00 ` Joachim Wesner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ludo @ 1998-07-31  4:00 UTC (permalink / raw)


Silly question from me is the Alpha a big or little indian byte user ?
Ludo
--
Ludovic Hirlimann
http://www.mygale.org/09/softkid/

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indian ?
  1998-07-31  4:00 Indian ? ludo
@ 1998-07-31  4:00 ` Joachim Wesner
  1998-07-31  4:00 ` Craig Burley
  1998-07-31  4:00 ` David G. Koontz
  2 siblings, 0 replies; 4+ messages in thread
From: Joachim Wesner @ 1998-07-31  4:00 UTC (permalink / raw)


ludo@isbank.is wrote:
> 
> Silly question from me is the Alpha a big or little indian byte user ?
> Ludo
> --
> Ludovic Hirlimann
> http://www.mygale.org/09/softkid/
> 
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

It's little ENDIAN natively !!

Bye

Joachim



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indian ?
  1998-07-31  4:00 Indian ? ludo
  1998-07-31  4:00 ` Joachim Wesner
@ 1998-07-31  4:00 ` Craig Burley
  1998-07-31  4:00 ` David G. Koontz
  2 siblings, 0 replies; 4+ messages in thread
From: Craig Burley @ 1998-07-31  4:00 UTC (permalink / raw)


ludo@isbank.is writes:

> Silly question from me is the Alpha a big or little indian byte user ?

I believe "Little *Native American*" would be the politically correct
response.
-- 

"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson    burley@gnu.org



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indian ?
  1998-07-31  4:00 Indian ? ludo
  1998-07-31  4:00 ` Joachim Wesner
  1998-07-31  4:00 ` Craig Burley
@ 1998-07-31  4:00 ` David G. Koontz
  2 siblings, 0 replies; 4+ messages in thread
From: David G. Koontz @ 1998-07-31  4:00 UTC (permalink / raw)


ludo@isbank.is wrote:
> 
> Silly question from me is the Alpha a big or little indian byte user ?
> Ludo
> --

 ----
union word_struct {
        unsigned long longword;
        unsigned char charword[4];
        };

main ()
{
union word_struct wd_array;
int i;
    wd_array.longword = 0x41424344; /*"ABCD"*/
    printf("word array long word = %x\n",wd_array.longword);
    for (i = 0; i < 4; i++)
        printf("wd_array,charword[%d] = %x\n",i,wd_array,charword[i]);
}
----

little endian, opposite of a SPARC.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-07-31  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-31  4:00 Indian ? ludo
1998-07-31  4:00 ` Joachim Wesner
1998-07-31  4:00 ` Craig Burley
1998-07-31  4:00 ` David G. Koontz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox