Blocks Bit Operations

From IPLOG
Revision as of 08:44, 30 April 2020 by Z033 (talk | contribs) (Created page with "== Back to Libraries == == Utility library == === Bit operations === ==== DWORD_SWAP_WORDS ==== Returns a DWORD value where the older word swap...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Libraries

Utility library

Bit operations

DWORD_SWAP_WORDS

Returns a DWORD value where the older word swaps its place with the younger word.

in IN dword input value "AABBCCDD"
out dword dword value "CCDDAABB"

GET_BIT_AT

Returns boolean value of bit on given position

in IN word input value
in P int bit position
out bool bit value

WORD_SWAP_BYTES

Returns a WORD value where the older byte swaps its place with the younger byte.

in IN word input value "ABCD"
out word word value "CDAB"