The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

How do I disassemble a hex number with Jazz?
Message #1 Posted by Matti Övermark on 6 July 2009, 9:31 a.m.

I have started to study the Art of SysRpl using my HP48 GX and Jazz 6.8. I would like to know how to disassemble a commmand using the Hexadecimal number as input, if I know that.

I do get results when I take, for instance, #7D27h DOB =>

"LABEL STO CON(5) (*)+5 ST=0 0 . . . "

and that above is not SysRpl. I think it is system assembly.

The DIS command (#7D27h DIS) just returns "HXS 10 72D7000000000000"

Any help appreciated!

Regards, Matti

      
Re: How do I disassemble a hex number with Jazz?
Message #2 Posted by Christoph Giesselink on 7 July 2009, 7:30 p.m.,
in response to message #1 by Matti Övermark

Quote:
I do get results when I take, for instance, #7D27h DOB =>
"LABEL STO
CON(5)   (*)+5
ST=0     0
.
.
.
"

This is the correct answer. STO is a so called PCO (Primitive Code Object), special assembler code which can be directly called from RPL code.

The construct CON(5) (*)+5 is the preamble for such an object located in ROM. You should have a look at James Donnelly's book Introduction to System RPL and Assembly Language.

TNX to Eric Rechlin making this book electronically available.

The basic for SysRPL programming is still RPLMan from Goodies Disk 4.

Another book is Programming in System RPL (PDF) from Eduardo M. Kalinowski.

And finally for the hard core programmers the assembler code tutorial Introduction to Saturn Assembly Language (PDF) Third Edition.

I hope that I don't forgot to mention any other important books. If so, add them to this thread.

Cheers

Christoph

            
Re: How do I disassemble a hex number with Jazz?
Message #3 Posted by Matti Övermark on 8 July 2009, 1:04 p.m.,
in response to message #2 by Christoph Giesselink

Thanks Christoph!

/Matti


[ Return to Index | Top of Index ]

Go back to the main exhibit hall