On Wed, Jan 23, 2002 at 10:37:27PM -0500, Jonathan Engdahl wrote:
Here's an idea --- we could write our own manual
out of our
heads. What's the LJ key do?
You used to be able to order the manual from HP. God knows whether
they provide that service now. (And they screwed up the copying of
my HP-97 manual.) I have one extra Xerox copy of the manual from HP
(I got it, then I got an original manual.)
LJ is left justify. Given a word with leading 0s, it removes them;
it also returns the number of leading 0s. Before --
x
n 0 bits, 1 bit, other stuff
After --
x y
n 1 bit, other stuff
A few other exotic operations include counting 1 bits and generating
masks. Let me know if you have more questions.
-- Derek