[comp.sys.handhelds] Hexify

John.Matthews@comp.vuw.ac.nz (John Matthews) (08/23/90)

A couple of days ago a posted a correction to Rick Grevelle's machine
code Hexify for the HP28S. After some correspondence with him it now
seems that the correction is not necessary in all cases. It IS necessary
when working with Alonzo's programs, and others written in similar
manner by determining the address of the hexified string by its size,
which is returned in bytes. This works if the hexified string is an even
number of nibbles, which occurs always with Alonzo's hexify, but only if
the input string is 0 padded to an even number of bytes with Rick's
machine code version.

I guess it is up to the user to decide how to manage things. They can
either determine what is being done, and adjust addresses in Alonzo's
and other's programs, or use the modified machine code version, and lose
1 nibble of memory for odd nibble length programs.

Hoping this helps,
John Matthews.