[Çü½Ä]
|
PERFORM ÇÁ·Î½ÃÁ®¸í-1 [ THRU
ÇÁ·Î½ÃÁ®¸í-2 ] |
{ |
µ¥ÀÌÅ͸í |
} |
TIMES. |
|
|
Á¤¼ö |
|
¨ç
|
TIMES´Â ȸ¼ö¸¦ ³ªÅ¸³»¸ç,
µ¥ÀÌÅÍ¸í ¶Ç´Â Á¤¼ö¿¡¼ ³ªÅ¸³½ °ª¸¸Å ÇÁ·Î½ÃÁ®¸íÀ» ¹Ýº¹ ¼öÇàÇÕ´Ï´Ù. |
¨è |
µ¥ÀÌÅ͸íÀ̳ª Á¤¼ö´Â ¾çÀÇ Á¤¼öÀÔ´Ï´Ù. |
[¿¹¹®]
|
|
MOVE 0 TO I J. |
|
|
PERFORM B-RTN THRU C-RTN 20
TIMES. |
|
|
GO TO R-RTN. |
|
|
: |
|
B-RTN. |
|
|
ADD 1 TO I. |
|
|
ADD I TO J. |
|
C-RTN. |
|
|
EXIT. |
|
|
: |
|
R-RTN. |
|
|
STOP RUN. |
<Çؼ³>
<*>
|
I¿Í J¿¡ ÃʱâÄ¡ 0À» ºÎ¿©Çϸç, |
|
B-RTN¿¡¼ C-RTNÀ» 20ȸ ¼öÇàÇÔÀ¸·Î¼ |
|
1-20±îÁöÀÇ ÇÕÀ» ±¸ÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. |
|