You copied the Doc URL to your clipboard.

GetPageSize() function

Returns the page size. This is useful when used with AlignExpr

Returns the value of the internal page size that armlink uses in its alignment calculations. By default this value is set to 0x8000, but you can change it with the --pagesize command-line option.

Example

This example aligns the base address of ER to a Page Boundary:

ER AlignExpr(+0, GetPageSize())
{
    ...
}
Was this page helpful? Yes No