HELPLIB.HLB  —  PASCAL  Attributes  Alignment
  Alignment attributes  indicate  whether  the  object  should  be
  aligned on a specific address boundary in memory.

1  –  ALIGNED

  The ALIGNED attribute indicates the object is to be aligned on a
  specific memory boundary.

  Syntax:

     ALIGNED [[( n )]]

  The default alignment of an object depends  on  its  size.   The
  constant  expression  n  must denote an integer.  If you omit n,
  the default is 0, indicating byte alignment.

  An aligned object is aligned on the memory boundary indicated by
  n.   The constant expression n indicates that the address of the
  object must end in at least n zeros.  ALIGNED(0) specifies  byte
  alignment,   ALIGNED(1)  specifies  word  alignment,  ALIGNED(2)
  specifies  longword  alignment,  ALIGNED(3)  specifies  quadword
  alignment,  ALIGNED(4) specifies octaword alignment, ALIGNED(9),
  specifies  512-byte   alignment,   and   ALIGNED(13)   specifies
  8192-byte alignment.

  See the "HP Pascal Language Reference Manual" for  the  complete
  description of using the ALIGNED attribute.

2  –  UNALIGNED

  The UNALIGNED attribute specifies that an object can be  aligned
  on  any  bit  boundary.   An  UNALIGNED  variable cannot have an
  allocation size greater than 32 bits.

  See the "HP Pascal Language Reference Manual" for  the  complete
  description of using the UNALIGNED attribute.
Close Help