Location counter value
@LCV({L|R}[,{L|H|expression}])
If L is specified as the first argument, returns the memory space attribute and value of the load location counter. If R is specified, returns the memory space attribute and value of the runtime location counter. The optional second argument indicates the Low, High, or numbered counter and must be separated from the first argument by a comma. If no second argument is present, the default counter (counter 0) is assumed.
The @LCV function does not work correctly if used to specify the runtime counter value of a relocatable overlay. This is because the resulting value is an overlay expression, and overlay expressions may not be used to set the runtime counter for a subsequent overlay. See the ORG directive for more information.
Also, @LCV(L,...) does not work inside a relocatable overlay. In order to obtain the load counter value for an overlay block, origin to the load space and counter immediately before the overlay and use @LCV(L) to get the beginning load counter value for the overlay.
ADDR = @LCV(R) ; save runtime address