Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!news.cs.indiana.edu!widener!netnews.upenn.edu!sequoia!hoford From: hoford@sequoia.circ.upenn.edu (John Hoford) Newsgroups: comp.sys.handhelds Subject: Re: Questions about hp48 machine language Keywords: hp48, machine language, ml Message-ID: <42247@netnews.upenn.edu> Date: 29 Apr 91 22:05:09 GMT Sender: news@netnews.upenn.edu Organization: Cardiothoracic Imaging Research Center Lines: 44 Nntp-Posting-Host: sequoia.circ.upenn.edu I have been trying to get a handle on writing asmbly code to for the hp48 and I have a few questions. Q2 When I convert an object to asm using "->asc" I get the object plus a checksum appended to the end. How do I calculate the checksum To hand code my own objects (using "asc->")? Q2 I have been using "MLDL 1.01" by Jan Brittenson to look at machine language code in the hp rom. This is the most useful program for learning asm, great work! My problem is it does not have a simple way of getting the starting address of a program in a variable. For Ml programs the only way I can do this now use "asm->" and then hand dissemble the code. So the question: Does anyone have a program That returns the address of the start of a stored program ? ie. 1: label ->addr 1: #213FF Would the address change to quickly to be useful? This would also help me check my code after I write it. I would be great to have a library that had all of the MLDL code "asc->" "->asc" "peek" @ some sort peek function "->addr" @as described above Q3 The STAR (thanks again Jan Brittenson) assemblers seem to produce raw ml. Is their a progam which will put them into a "asc->" or a "hp/kermit file" format? Optionally put a #02DCC (code object) in front of it Thanks John D. Hoford