LOADADR/de

(Difference between revisions)
Jump to: navigation, search
(Created page with "= <span class="f_Header">Action</span> = Loads the address of a variable into a register pair. <span style="font-family: Arial;"> </span> <span style="font-family: Ari...")
 
m (1 revision)

Revision as of 21:15, 15 February 2013

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Loads the address of a variable into a register pair.

 

 

Syntax

LOADADR var , reg

 

 

Remarks

var

A variable which address must be loaded into the register pair X, Y or Z.

reg

The register X, Y or Z.

 

The LOADADR statement serves as an assembly helper routine.

 

 

 

Example


Dim S As String * 12
Dim A As Byte
 
$ASM
loadadr S , X ; load address into R26 and R27
ld _temp1, X ; load value of location R26/R27 into R24(_temp1)
$END ASM

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language