raw41lif - a filter to convert a HP41C program raw file to a LIF file
raw41lif <LIF filename> < Input file > Output file
raw41lif -?
raw41lif is a filter which generates a LIF file from a HP41 raw file (FOCAL bytecode). The filter reads the byte code from standard input and writes the LIF file header, the bytecode and the checksum byte to standard output.
The format of an HP41C program is documented in many books. Amongst the most useful references are Extend Your HP41 (W. A. C. Mier-Jedrzejowicz) and The HP41 Synthetic Programming Quick Reference Guide (Jeremy Smith)
If zline.raw is a raw file containing an HP41 program then
cat zline.raw | raw41lif ZLINE > zline.p41
will generate a LIF file zline.p41 with the LIF filename ZLINE
raw41lif was written by Joachim Siebold, bug400@gmx.de using code from Tony Duell, ard@p850ug1.demon.co.uk and has been placed under the GNU Public License version 2.0