Registers
SHL | shift left |
SHR | shift right |
ROL | rotation left |
ROR | rotation right |
Below are advanced functions for register manipulation:
MBShift | multibyte shift / rotate |
The following functions enable bit to bit operations on a 8 bit to 32 bit integers:
AND_MASK | Boolean AND |
OR_MASK | Boolean OR |
XOR_MASK | exclusive OR |
NOT_MASK | Boolean negation |
The following functions enable to pack/unpack 8, 16 and 32 bit registers
LOBYTE | Get the lowest byte of a word |
HIBYTE | Get the highest byte of a word |
LOWORD | Get the lowest word of a double word |
HIWORD | Get the highest word of a double word |
MAKEWORD | Pack bytes to a word |
MAKEDWORD | Pack words to a double word |
PACK8 | Pack bits in a byte |
UNPACK8 | Extract bits from a byte |
The following functions provide bit access in 8 bit to 32 bit integers:
SETBIT | Set a bit in a register |
TESTBIT | Test a bit of a register |
The following functions have been deprecated. They are available for backwards compatibility only. The functions listed above should be used for all current and future development.
AND_WORD | AND_BYTE |
OR_WORD | OR_BYTE |
NOT_WORD | NOT_BYTE |
XOR_WORD |
XOR_BYTE |
ROLW | RORW |
ROLB | RORB |
SHLW | SHRW |
SHLB | SHRB |