Revision [14577]

This is an old revision of CatPgBits made by LaananFisher on 2010-02-11 17:16:51.

 

Bit Manipulation


Macros that work with the bits and bytes of numbers.

Description:
The macros documented here provide access to the individual bits, bytes and words of integer values.

Byte Manipulation Macros
Gets the value of individual bytes or words of KeyPgUinteger Uinteger values.
Bit Manipulation Macros
Gets the state of individual bits of numeric values.

Byte Manipulation Macros
LOBYTE
Gets the least significant byte (LSB, or lo-byte) value of an KeyPgUinteger Uinteger value.
HIBYTE
Gets the most significant byte (MSB, or hi-byte) value of the least significant word (LSW, or lo-word) of an KeyPgUinteger Uinteger value.
LOWORD
Gets the least significant word (LSW, or lo-word) value of an KeyPgUinteger Uinteger value.
HIWORD
Gets the most significant word (LSW, or hi-word) value of an KeyPgUinteger Uinteger value.

Bit Manipulation Macros
BIT
Gets the state of an individual bit in an integer value.
BITRESET
Gets the value of an integer with a specified bit cleared.
BITSET
Gets the value of an integer with a specified bit set.

 


Back to Table of Contents
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode