Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!snorkelwacker!ai-lab!rice-chex!bson From: bson@rice-chex.ai.mit.edu (Jan Brittenson) Newsgroups: comp.sys.handhelds Subject: Re: Machine code on the HP48 Message-ID: <10435@life.ai.mit.edu> Date: 5 Sep 90 04:13:30 GMT References: <10430@life.ai.mit.edu> Sender: news@ai.mit.edu Organization: nil Lines: 27 In article <10430@life.ai.mit.edu> I wrote: >The length is the size of the actual code, 2*16+10 (#2Ah) in your >example. So try: > > { > #2313410002A02DCCh Should read `2*16+10+5 (#2Fh)' and `#2313410002F02DCCh' respectively. I ftp'd sass23.tar.Z from calvin.stanford.edu (I think) and unpacked it. It wouldn't compile with gcc nor cc (SunOS 4.something), nor would using bison instead of yacc or Gnu lex instead of /bin/lex help. Inserting an "extern YYSTYPE yylval" into scan.c (the lexified scan.l) made it pass. Later examining the code revealed that you have to specify -xc to get a code object. You already know what -x by itself will give you. :-) And oh, there doesn't seem to be any provision for arithmetic, i.e. da endpt-startpt won't work. Another annoyance it that it blocks/hangs whenever an error is encountered. Is this an old version?