Registers

All Register Functions (Alphabetically)

Name

Description

and_mask

Performs a bit-to-bit Boolean AND between two integer values.

HiByte

Get the highest byte of a word.

HiWord

Get the highest word of a double word.

LoByte

Get the lowest byte of a word.

LoWord

Get the lowest word of a double word.

MakeDWord

Builds a double word as the concatenation of two words.

MakeWord

Builds a word as the concatenation of two bytes.

MBShift

Multi-byte shift / rotate.

not_mask

Performs a bit-to-bit Boolean negation of an integer value.

or_mask

Performs a bit-to-bit Boolean OR between two integer values.

Pack8

Pack bits in a byte.

rol

Rotate bits of a register to the left.

ror

Rotate bits of a register to the right.

SetBit

Set a bit in an integer register.

shl

Shift bits of a register to the left.

shr

Shift bits of a register to the right.

TestBit

Test a bit of an integer register.

Unpack8

Extract bits from a byte.

xor_mask

Performs a bit to bit exclusive OR between two integer values.

Advanced Function

This is the advanced function for register manipulation:

Name

Description

MBShift

Multi-byte shift / rotate.

Bit Access

These functions provide bit access from 8-bit to 32-bit integers:

Name

Description

SetBit

Set a bit in an integer register.

TestBit

Test a bit of an integer register.

Bit-to-Bit Functions

These functions enable bit-to-bit operations from 8-bit to 32-bit integers:

Name

Description

and_mask

Performs a bit-to-bit Boolean AND between two integer values.

not_mask

Performs a bit-to-bit Boolean negation of an integer value.

or_mask

Performs a bit-to-bit Boolean OR between two integer values.

xor_mask

Performs a bit to bit exclusive OR between two integer values.

Pack / Unpack Functions

These functions enable pack / unpack from 8-bit to 32-bit integers:

Name

Description

HiByte

Get the highest byte of a word.

HiWord

Get the highest word of a double word.

LoByte

Get the lowest byte of a word.

LoWord

Get the lowest word of a double word.

MakeDWord

Builds a double word as the concatenation of two words.

MakeWord

Builds a word as the concatenation of two bytes.

Pack8

Pack bits in a byte.

Unpack8

Extract bits from a byte.

Standard Functions

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

Name

Description

rol

Rotate bits of a register to the left.

ror

Rotate bits of a register to the right.

shl

Shift bits of a register to the left.

shr

Shift bits of a register to the right.