<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>as/cmd/CALL/call__both.casl</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2861.html'>as</a>/<a href='../files/2869.html'>cmd</a>/<a href='../files/2873.html'>CALL</a>/call__both.casl</h2> <em class='comment'>/* [<][>][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> <hr /> <pre> <a id='L1' name='L1'></a> 1 ;;; CALL <a id='L2' name='L2'></a> 2 ;;; 同じプログラムの中とほかのプログラムの入口名の両方で定義されたラベルを指定 <a id='L3' name='L3'></a> 3 ;;; YACASL2では、ほかのプログラムの入口名を優先 <a id='L4' name='L4'></a> 4 MAIN START BEGIN <a id='L5' name='L5'></a> 5 BEGIN LAD GR1,29 <a id='L6' name='L6'></a> 6 CALL COPY <a id='L7' name='L7'></a> 7 RET <a id='L8' name='L8'></a> 8 COPY LD GR2,GR1 <a id='L9' name='L9'></a> 9 RET <a id='L10' name='L10'></a> 10 END <a id='L11' name='L11'></a> 11 COPY START <a id='L12' name='L12'></a> 12 LD GR2,GR1 <a id='L13' name='L13'></a> 13 RET <a id='L14' name='L14'></a> 14 END </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>