Previous: Offset Operations, Up: Offsets [Contents][Index]
The following attributes are defined for offset values.
size
Gives an offset with the storage occupied by the offset. Examples:
(poke) 10#B'size 0x20UL#b (poke) 10N#B'size 0x4UL#b
magnitude
Gives the magnitude part of the offset. Examples:
(poke) 10#B'magnitude 10 (poke) 2H#b'magnitude 2H
unit
Gives a number with the unit of the offset, expressed in bits. Examples:
(poke) 10#B'unit 8UL (poke) 2H#b'unit 1UL
mapped
Always 0 for offsets. (see Mapping).