The ANCHOR Macro

The ANCHOR macro sets, queries, and clears a fullword that can be used by a program to save the address of its data between invocations.

The basic formats of ANCHOR are:
  • ANCHOR QUERY — to retrieve the contents of a previously set anchor word.
  • ANCHOR SET — to declare an anchor word.
  • ANCHOR CLEAR — to delete an anchor word.