Mail Archives: djgpp/1997/06/06/17:42:57
> > words rather than bytes, as they copy 4 bytes at a time.
> > 1 WORD = 4 BYTES, so when you tell it how many words to copy, make sure
> > it's the (# OF BYTES/4)
> Thats wrong, ONE WORD is equilivant to TWO BYTES NOT FOUR.
> Those routines are moveing double words or in AT&T, long words, which are
> FOUR BYTES.
Well, if you take off the intel x86 blinders, word has historically
meant the normal interger size of the CPU, which would be
4 bytes for 386s and newer. Every other 32 bit
architecture I've used defines words to be 32 bits long, so anyone
with a non-x86 background would probably use word in that
manner. Nothing wrong with it, it just looks weird to PC
only people.
- Raw text -