102 Arithmetic By way of example, suppose you have established two full-precision values which need to be multiplied. The call to the Rei_math utility to accomplish the multiplication would look similar to this- ISOURCE Multiply: j MULTIF~Y ~~E OPERANDS I ~:;Cii..JFCE LDn I '::;Ot.!F'CE T:::;OUF:CE L..I)A -;:~:~ I::::;OUi?CE I '::;:Oi..H';U::E F~r'('ctr~ ~.:>r1cCii)i·-itE·t···~:·c1!1 :::,::: 11:;·.~.!.)!:::· Test for any errors Note in the last line of the example the call to the Error_exit utility (page 191) is made when register A is not zero. When this occurs, A contains the error number of the error encountered - ready-made for calling the Error_exit utility. UTILITY:
Rei to int The Rei_to _int utility provides for the conversion of a full-precision value into an integer. General Procedure: The utility is given the address of the location of th.e full-precision value and the address of the location where the integer is to be stored. Special Requirements: The full-precision value must be within the range of integers (- 32 768 to + 32 767).