Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!watsol!tbray From: tbray@watsol.UUCP Newsgroups: comp.emacs Subject: Tiny integers in Elisp Message-ID: <154@watsol.waterloo.edu> Date: Wed, 23-Sep-87 11:45:42 EDT Article-I.D.: watsol.154 Posted: Wed Sep 23 11:45:42 1987 Date-Received: Sat, 26-Sep-87 05:08:46 EDT Reply-To: tbray@watsol.UUCP (Tim Bray) Distribution: world Organization: U. of Waterloo, Ontario Lines: 6 I am writing a customized dbx front-end for debugging a large exotic program which has things packed into bit fields. dbx prints this stuff, which is declared as an int ***, out in hex. I want to extract the bit fields, so I wrote a little predicate which turns a hex number into an int, then I was going to use 'logand' to pull out fields. However, Elisp ints are *not* 32-bit quantities - they are 24 bits (right)? Argh! On to plan B...