1 02/13/84 set_bit_offset_
2
3
4 Entry points in set_bit_offset_:
5 List is generated by the help command
6
7
8 :Entry: set_bit_offset_: 02/13/84 set_bit_offset_
9
10 Function: returns a pointer to the specified bit in the segment
11 referenced by the input pointer.
12
13
14 Syntax:
15 declare set_bit_offset_ entry ptr fixed bin24 returns ptr
16 reducible;
17 new_pointer_value = set_bit_offset_ pointer_value bit_offset;
18
19
20 Arguments:
21 pointer_value
22 identifies the segment in which the desired bit resides. Input
23 bit_offset
24 is the offset relative to the base of the segment of the desired
25 bit. Input
26 new_pointer_value
27 is the result of this operation. Output
28
29
30 Notes: The first bit in a segment has a bit offset of zero.
31
32 If the value of bit_offset is negative or greater than 9,437,183 the
33 offset of the last bit in a 256K word segment, the resulting value of
34 the call is not defined.