Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!ai-lab!rice-chex!bson From: bson@rice-chex.ai.mit.edu (Jan Brittenson) Newsgroups: comp.sys.handhelds Subject: Re: 32 Bt Mant is < I need! Message-ID: <12330@life.ai.mit.edu> Date: 10 Dec 90 16:20:00 GMT References: <1990Dec10.034626.27415@cc.ic.ac.uk> <10060@jarthur.Claremont.EDU> <2667@charon.cwi.nl> Sender: news@ai.mit.edu Organization: nil Lines: 23 In article <2667@charon.cwi.nl> jurjen@cwi.nl (Jurjen NE Bos) writes: > The 48SX already has arbitrary-large binaries--except that it cannot > do computations with them. ... If only someone would write input and > calculation routines for those long binaries... The HP-48 performs logical operations on strings, and since binary numbers essentially are strings with a different type prefix, all we have to do for AND, OR, XOR, NOT, is to bypass the type check: #188e6 SYSEVAL AND strings #188f5 SYSEVAL OR strings #18904 SYSEVAL XOR strings #18961 SYSEVAL NOT string In fact, these routines can be appled to any object that is a "vector" object, i.e. a type prefix followed by a 20-bit length counting the length itself - Library data, GROB, String, and Binary. So I guess what need are +, -, *, /, and a few shift operations, and we're all set!