CEESITST—Bit test

Purpose

CEESITST selectively tests a bit in its parm1 input to determine if the bit is on.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-CEESITST--(--parm1--,--parm2--,--fc--,--result--)-----------><

parm1 (input)
The first input to the Bit Test routine. The input can be any 32-bit integer.
parm2 (input)
The second input to the Bit Test routine. The parm2 value is a 32-bit integer in the range between 0 and 31, inclusive.
fc (output)
A 12-byte feedback code, optional in some languages, that indicates the result of this service. If you choose to omit this parameter, refer to Invoking callable services for the appropriate syntax to indicate that the feedback code was omitted.

The following symbolic conditions can result from this service:

Code Severity Message number Message text
CEE000 0   The service completed successfully.
CEE1VC 2 2028 The value of the second argument was outside the valid range range in math routine routine-name.
result (output)
The result of the Bit Test routine. The output is a 32-bit integer with one of the following values; bits are counted from the right:
1
if bit number parm2 in parm1 is 1
0
if bit number parm2 in parm1 is 0