Gene, Bill:

All 13 lines of the MT routine are listed on page 339 of the PPC ROM manual, which is included in the MoHPC CDs/DVD:

29 LBL "MT"

30 CLA

31 STO M

32 ASTO M

33 INT

34 X!=0?

35 (Append x'00')

36 X=0?

37 (Append x'A0')

38 CLX

39 ST+ M

40 X<> M

41 RTN

Note: The line numbers begin with 29 because of the way routines are stored in the PPC ROM. They don't matter. Also, you may want to replace the RTN with an END.

Typing this routine requires using either a Byte Grabber in order to make it possible to type up the synthetic lines. The MoHPC page for the HP-41 contains a link to a page that describes how to create the Byte Grabber key assignment.

Finally, if you don't want to mess with synthetics AND you can spare the contents of both the T and LASTx registers, you can simply perform a multiplication or division by a suitable power of 10, which will eliminate the pesky exponent from the display. Example:

Supposing the HP-41 shows "1.2345678E-12", you simply multiply the result by 1E12 (EEX 12 x).

-Ernie

*Edited: 23 July 2003, 12:07 p.m. *