Loads the address of a variable into a register pair.
LOADADR var , reg
A variable which address must be loaded into the register pair X, Y or Z.
The register X, Y or Z.
The LOADADR statement serves as an assembly helper routine.
Dim S As String * 12
Dim A As Byte
loadadr S , X ; load address into R26 and R27
ld _temp1, X ; load value of location R26/R27 into R24(_temp1)