Re: HP49G Sysrpl help with recalling contents of pointers
- From: "Gjermund Skailand" <skaiguard-test@xxxxxxxx>
- Date: Wed, 30 May 2007 23:47:55 +0200
Hi, Hans.
Thanks for your advice. You have a working code.
However it takes about 1 sec, and it is necessary to have both Nosy and the
development library installed and being in sys-rpl mode.
But I will look into documentation for Nosy. Maybe I can understand what it
does. I only intend to use this for objects within a rompointer /
flashpointer. Not across the whole rom.
Best regards
Gjermund Skailand
<hans.milton@xxxxxxxxxx> wrote in message
news:1180529359.569601.215920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 28 Maj, 23:07, "Gjermund Skailand" <skaiguard-t...@xxxxxxxx> wrote:
Hi , I need some help me with recalling contents of ROM during runtime.
I wish to recall the contents of e.g. C%SIN (supported entry) to the
stack
during runtime (in order to modify the composite ) and then use it.
E.g.
:: ' C%SIN recall? CDRCOMP EVAL ;
What would the magic word or procedure for recall? be on the hp49g?
I ask because
C%SIN decompiles to
:: PTR 0FEDA 2DUP %%COSH....;
Where PTR 0FEDA splits a C% (complex) into two extended reals.
In this case I already have two extended reals on the stack, and it would
be
a waste of time and accuracy to make it a C% first.
Thanks on beforehand
Gjermund Skailand
PS in this particular case the below is a shorter version.
:: ' C%SIN recall? EvalNoCheck ;
One way could be to use Nosy to get the ROM
contents as a string of source code, and then
compile by calling MASD.
Create following as a library routine, lets call it
ROM->CODE:
::
x->A xGETNAME
xNosyRPL$
SEP$NL
DROP
xASM
;
Your example then:
:: ' C%SIN xROM->CODE EvalNoCK ;
.
- Follow-Ups:
- Re: HP49G Sysrpl help with recalling contents of pointers
- From: John H Meyers
- Re: HP49G Sysrpl help with recalling contents of pointers
- References:
- HP49G Sysrpl help with recalling contents of pointers
- From: Gjermund Skailand
- Re: HP49G Sysrpl help with recalling contents of pointers
- From: hans . milton
- HP49G Sysrpl help with recalling contents of pointers
- Prev by Date: Re: Application notes for HP 40gs disappeared from HP Canada ?
- Next by Date: Re: The HP 35S has arrived...
- Previous by thread: Re: HP49G Sysrpl help with recalling contents of pointers
- Next by thread: Re: HP49G Sysrpl help with recalling contents of pointers
- Index(es):
Relevant Pages
|