Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
_DEPOSIT
A-38
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNM Library Services
_DEPOSIT
_DEPOSIT sets selected bits in the first parameter equal to the same bits in the second
parameter.
int-var input/output
INT:ref
is INT variable, the selected bits of which are set equal to the same bits in
int-exp.
int-exp input
INT:value
is an INT expression, the selected bits to which int-var bits are set equal.
bit-mask input
INT:value
is an INT expression, the one-bits of which identify the bits in int-var and
int-exp participating in the operation.
Considerations
_DEPOSIT performs a function similar to the following, except that the affected bits
need not be contiguous:
a.<x:y> := b.<x:y>
Example
In the following example, bits 9 and 15 of evta are set equal to bits 9 and 15 of evtb:
INT evta, evtb;
_DEPOSIT (evta, evtb, %101); !sets evta.<9> := evtb.<9>
!and evta.<15> := evtb.<15>.
!Other bits of evta unchanged.
_DEPOSIT ( int-var
,int-exp
,bit-mask );