MPE/iX Intrinsics Reference Manual (32650-90905)

294 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
GENMESSAGE
parmask
16-bit signed integer by value (optional)
Passes a mask indicating parameter types for
param1
through
param5
.
The bit settings are:
Bits Value/Meaning
13:3, 10:3, 7:3,
4:3, 1:3
param5
-
4-3-2-1
type:
000
String, terminated by an ASCII null (0)
001
16-bit signed integer
010
32-bit signed integer by reference
011
Ignored
0:1
value
:
1
Ignore rest of word and parameters
param1
through
param5
0
Rest of word, in 3-bit groupings, specifies parameter types
for
param1
through
param5
Default:
param1
through
param5
are ignored.
param1
through
param5
type varies (optional)
(NM) Passes the parameter to be inserted into the message. If
parmask
is
000 (string), pass the 32-bit address of the array containing the string. If
parmask
is 001 (16-bit signed integer), pass a signed 16-bit integer (a value
from -32,768 through 32,767). If
parmask
is 010 (32-bit signed integer by
reference), pass the 16-bit address of the word identifier that returns the
value.
(CM) Passes the parameter to be inserted into the message. If
parmask
is
000 (string), pass the 16-bit address of the array containing the string. If
parmask
is 001 (16-bit signed integer), pass a signed 16-bit integer (a value
from -32,768 through 32,767). If
parmask
is 010 (16-bit signed integer by
reference), pass the 16-bit address of the word identifier that returns the
value.
msgdestination
16-bit signed integer by value (optional)
Returns the file number of the message's destination file (0 or
-1=$STDLIST, >2=file number of the destination file).