You copied the Doc URL to your clipboard.

GetPageSize() function

Returns the page size when an image is demand paged, and is useful when used with the AlignExpr function.

When you link with the --paged command-line option, returns the value of the internal page size that armlink uses in its alignment calculations. Otherwise, it returns zero.

By default the internal page size is set to 8000, but you can change it with the --pagesize command-line option.


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

ER AlignExpr(+0, GetPageSize())