FloatPnt - Floating-Point Instruction Set Library

by TJ Chappell

Running this application, either from the RISC User menu system or by double-clicking on !FP_Prog in a Filer window, will produce a dialogue box containing a file icon for the Basic program FPEv10. The program is basically a collection of functions and procedures to add the floating-point instruction set to the Basic assembler.

To use the functions, add FPEv10 to the end of your program. Call PROC_fp_init at the start of your program. To include a floating point instruction in the assembly language section, use a line of the form:

EQUD FNdecode("LDFALE float,[address]")

Note that the condition code is required even if it is 'AL'.

For more information, load FPEv10 and type:

PROChelp_fpe for help on the program

PROChelp_prec for help on PRECISION options

PROChelp_round for help on ROUNDING options

PROChelp_const for help on CONSTANT options

PROChelp_opc("OPC") for help on specific OPCODES, where OPC is a 3 letter opcode, e.g. LDF,POW,CME (or ALL for full details). Note: PROC_fp_init MUST be called before this help routine is used.

 Copyright RISC User Magazine 1996
