HP 3000 Manuals

Binary Numbers [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

Binary Numbers 

The binary numbers used as parameters to HPPACCVBD and HPPACCVDB have the
following characteristics.

 *  The number is stored in twos-complement format.

 *  The length is a multiple of 16 bits.

 *  The length may be up to 96 bits.

 *  In storage, the high-order bit must occupy bit 0 or bit 15 of a
    32-bit word.  In other words, the number must be aligned on an
    even-byte boundary.

 *  The storage address is the address of the byte that contains the
    high-order bit.


NOTE For compatibility with the HP 3000 Series V instruction set, the length of a binary number is given in terms of 16-bit elements, sometimes referred to as "words." To avoid confusion with the 32-bit words of the Series 900 computer systems, the term "16-bit word" is used in this chapter when referring to the 16-bit elements of a binary number.


MPE/iX 5.0 Documentation