hewlett-packard HP 9835A — 103

Arithmetic 103 Calling Procedure: 1. Store the address of the full-precision value into register Oper_1. 2. Store the address of where the integer is to be stored into register Result. 3. Call the utility. Exit Conditions: The overflow bit in the processor is set if the integer is outside the range of integers. An example- ..... ]::::(" ......... i :::. ~ ! . ..: r l :::>! i"l tJt=::::::.'(' : T1 f:i ::::: \'.:~. i.A ~;:' i.J ~.t' UTILITY: ReI to sho The Rei_to _sho utility provides for the conversion of a full-precision value into a short- precision one. General Procedure:

The utility is given the address of the location of the full-precision value and the address of the location wher~ the short-precision value is to be stored. Special Requirements: A short-precision value requires 2 words to be stored. Calling Procedure: 1. Store the address of the full-precision value into register Oper_1. 2. Store the address of the storage area for the short-precision value into register Result. 3. Call the utility. Exit Conditions: No special exit conditions.