Below are the standard functions for managing 8 bit to 32 bit registers:

Function

Description

SHL
SHR
ROL
ROR

shift left
shift right
rotation left
rotation right

Below are advanced functions for register manipulation:

Function

Description

MBShift

multibyte shift / rotate

The following functions enable bit to bit operations on a 8 bit to 32 bit integers:

Function

Description

AND_MASK
OR_MASK
XOR_MASK
NOT_MASK

boolean AND
boolean OR
exclusive OR
boolean negation

The following functions enable to pack/unpack 8, 16 and 32 bit registers

Function

Description

LOBYTE
HIBYTE
LOWORD
HIWORD
MAKEWORD
MAKEDWORD
PACK8
UNPACK8
SWAB

Get the lowest byte of a word.
Get the highest byte of a word.
Get the lowest word of a double word.
Get the highest word of a double word.
Pack bytes to a word.
Pack words to a double word.
Pack bits in a byte.
Extract bits from a byte.
Swap the bytes of a integer

The following functions provide bit access in 8 bit to 32 bit integers:

Function

Description

SETBIT
TESTBIT

Set a bit in a register.
Test a bit of a register.


Created with the Personal Edition of HelpNDoc: Save time and frustration with HelpNDoc's WinHelp HLP to CHM conversion feature