[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LOAD-BYTE and DEPOSIT-BYTE
- To: JONL at MIT-MC
- Subject: LOAD-BYTE and DEPOSIT-BYTE
- From: MOON at MIT-MC (David A. Moon)
- Date: Tue, 4 Dec 79 03:46:00 GMT
- Cc: (BUG LISP) at MIT-MC
- Original-date: 3 DEC 1979 2246-EST
The machine dependency I referred to is not that you are limited by the
length of the word (assuming they only support fixnums). The machine
dependency is that the arithmetic value of a fixnum containing a
certain pattern of bits depends on the word length; if the bits were
numbered from right to left it would not depend, provided only that the
number of bits was small enough to fit in a word. This is particularly
important when you have constants, and is one of the reasons why I feel
bits should be numbered from right to left whenever possible. In fact,
we changed the Lisp machine from left-to-right to right-to-left several
years ago for this reason among others.