<< Back

cesky: , English:

INTNUM

Integer number arithmetics


EndianByte - change endian of Byte

INPUT:
DX:AX = number in big/little endian

OUTPUT:
DX:AX = number in little/big endian

Notes: x86 CPU uses little-endian, least significant byte is lowest.


EndianWord - change endian of Word

INPUT:
AX = number in big/little endian

OUTPUT:
AX = number in little/big endian

Notes: x86 CPU uses little-endian, least significant byte is lowest.


EndianDWord - change endian of DWord

INPUT:
AL = number in big/little endian

OUTPUT:
AL = number in little/big endian

Notes: x86 CPU uses little-endian, least significant byte is lowest.


Source code INTNUM.ASM

<< Back