MPE/iX Intrinsics Reference Manual (32650-90875)

22 Chapter2
Intrinsic Use
Parameters
Itemnum and Item Pair Options
Some intrinsics allow multiple
itemnum,item
pairs to be passed to define one or more
options. The
itemnum
parameter is usually an integer value that the intrinsic uses to
define the meaning and the expected data type of the value passed or returned in the
corresponding
item
parameter.
An
itemnum
cannot be passed without its corresponding
item
value. The only exception is
when a special value is passed in the last
itemnum
to indicate the end of the
itemnum,item
list; in this case, an accompanying
item
is not required.
Data Type Mappings
Table 2-2. maps generic data types to possible implementations in programming languages
supported by the operating system. The mnemonics associated with the generic types
appear in parentheses. For more information on calling intrinsics from these languages,
refer to the appropriate language reference manual.
NOTE
The IEEE floating-point standard is the default real format for the 900 Series
Hewlett-Packard 3000 computers.
R64 64-bit real number
UDS User-defined structure
U16 16-bit unsigned integer
U32 32-bit unsigned integer
U64 64-bit unsigned integer
V Passed by value
@32 32-bit address
@64 64-bit address
@* 32-bit address (NM) or 16-bit address (CM)
* Type varies
Table 2-2. Data Type Mappings
Generic Type COBOL II/XL FORTRAN
77/XL
Pascal/XL C & C/XL
16-bit signed
integer (I16)
PIC S9(1) - S9(4)
BINARY SYNC
Integer*2 SHORTINT or any
16-bit subrange
SHORTINT
Table 2-1. Mnemonic Descriptions
Mnemonic Meaning