<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Call site - Page 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=call_site&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=call_site&amp;p=3">3.Next</a>
</p>

<p><big>Assembler example</big></p>
<p><a href="page.php?w=IBM%2F360">IBM/360</a> or <a href="page.php?w=Z%2FArchitecture">Z/Architecture</a><syntaxhighlight lang="asm"> * (usually) external call.... R13 usually points to a save area for general purpose registers beforehand *                         and R1 points to a list of addresses of parameters (if any)         LA    R1,=A(B)         point to (address of) variable 'B'         L     R15,=A(SQR)      Load pointer (address constant) to separately compiled/assembled subroutine         BALR  R14,R15          Go to subroutine, which returns - usually at zero displacement on R14 * internal call            (usually much smaller overhead and possibly 'known' parameters)         BAL   R14,SQR          Go to program label and return</syntaxhighlight>In</p><p>
<a accesskey="1" href="page.php?w=call_site&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=call_site&amp;p=3">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
