From koslowj@math.ksu.edu Tue Sep 11 08:26:14 1990 From: koslowj@math.ksu.edu (Juergen Koslowski) Newsgroups: comp.sys.handhelds Subject: (none) Date: 11 Sep 90 02:02:12 GMT Distribution: inet Organization: The Internet The following program by Rick Grevelle, posted a few weeks back, contains a typo. The checksum is the one for the correct program. (This program finds the addresses (+1) of ROM routines that are prefixed by their own address. there are nearly 1500 of them, according to Rick. I haven't yet printed them all out:-) CMACF [4152] \<< # 3174197160731741h # 181314E331741607h # 4173170EC6A830F8h # C808461241173705h ^^ digits transposed, ought to read 37! 1 3 START # 5193h SYSEVAL NEXT #2DCCh # 5A03h SYSEVAL # 5ACCh SYSEVAL \>> I also have a question concerning Rick Grevelle's String-to-Code conversion program below. /<< /<< "" + A />> 4 # 01DD641001231341h # C4616316D241461Ah # 731602F918631AD2h # 1775A802A2C43901h # 1810C1CD3317145Ch # 30131DEE94113A41h # 1476E90913504A6Bh # E90513A6B0196015h # 5DC0151A0AA03336h # C434C1541704C1BAh # 14133111154102DCh # 1CD2113311110096h # C80846124123101h 1 12 START # 5193h SYSEVAL NEXT # 2DCCh # 5A03h SYSEVAL # 5ACCh SYSEVAL # 1D524h SYSEVAL # 54AFh SYSEVAL # 5445h SYSEVAL />> When I try to understand the machine code portion in terms of the mnemonics provided in Alonso Gariepy's processor notes, I get stuck. I cannot find the instruction DA in those notes. Someone recently mentioned the lack of the DA instruction in the sass231 assembler package. It supposedly computes the difference between two addresses. Could some mcode expert please explain? Another suggestion concerning this program: It seems to me that the new HP48 instruction NEWOB can be used to replace "" +, saving 2.5 bytes. J"urgen Koslowski Department of Mathematics Kansas State University