as

as(1)                        GNU Development Tools                       as(1)



åå
       GNU as - GNU ãã¼ã¿ãã«ã¢ã»ã³ãã©


æ¸å¼
       as [-a[dhlns][=file]] [-D] [--defsym SYM=VAL] [-f] [--gstabs] [-I path]
       [-K] [-L] [-M | --mri] [-o objfile] [-R] [--traditional-format] [-v]
       [-w] [-- | files...]

       i960 åºæã®ãªãã·ã§ã³:
       [-ACA|-ACA_A|-ACB|-ACC|-AKA|-AKB|-AKC|-AMC] [-b] [-no-relax]

       m680x0 åºæã®ãªãã·ã§ã³:
       [-l] [-mc68000|-mc68010|-mc68020]


説æ
       GNU as ã¯å®éã«ã¯åã¢ã¼ããã¯ãã£åãã¢ã»ã³ãã©ã®ãã¡ããªã¼ã§ãããããã¢ã¼ã ãã¯ãã£ã§
       GNU ã¢ã»ã³ãã©ã使ãã° (ãããã¯ä½¿ã£ãçµé¨ãããã°)ãä»ã®ã¢ã¼ ã‐
       ãã¯ãã£ã§ãã»ã¼åæ§ã®ç°å¢ã§ä½æ¥ãã§ããããã¼ã¸ã§ã³ã«ããéããã»ã¨
       ãã©ãªãããªãã¸ã§ã¯ããã¡ã¤ã«ã®ãã©ã¼ããããã»ã¨ãã©ã®ã¢ã»ã³ãã©å½ä»¤
       (ãã°ãã°æ¬ä¼¼å½ä»¤: pseudo-ops
       ã¨å¼ã°ãã)ãã¢ã»ã³ãã©ã®ææ³ãªã©ã¯ã»ã¨ãã©å¤ãããªãã

       GNU ã¢ã»ã³ãã©ã§ç¨ããããææ³ãæ¬ä¼¼å½ä»¤ã«é¢ãã¦ã¯ info ã® as ã¨ã³ããª
       (ã¾ãã¯ããã¥ã¢ã«ã§ãã Using as: The GNU Assembler ) ãåç§ã®ãã¨ã

       as ã¯ãã¨ã㨠GNU C ã³ã³ãã¤ã© gcc ã®åºåããªã³ã« ld ã§å©ç¨ã§
       ããããã«ã¢ã»ã³ãã«ããããã®ãã®ã§ããããããæã㯠as
       ããã¤ãã£ããªã¢ã»ã³ãã©ã¨åæ§ãªåä½ããããã¨ãç®æãã¦ããããã ãã ã㯠as
       ã®ææ³ã常ã«ä»ã®ã¢ã»ã³ãã©ã®ãã®ã¨åãã§ãããã¨ãä¿è¨¼ãããã®ã§ã¯ãªãã ä¾ãã° 680x0
       ã¢ã»ã³ããªè¨èªã®ææ³ã«ã¯ã as ã¨ã¯äºææ§ã®ãªããã®ãåå¨ããã

       as ã¯å®è¡ã®ãã³ã«ãã ä¸ã¤ã®ããã°ã©ã ãã¢ã»ã³ãã«ãããããã°ã©ã ã¯ä¸ã¤ä»¥
       ä¸ã®ãã¡ã¤ã«ããæ§æããã (æ¨æºå¥åããã¡ã¤ã«ã§ãã)ã

       ãã¡ã¤ã«åãæå®ãããªããã° as ã¯æ¨æºå¥å (é常ã¯ç«¯æ«) ãã¢ã»ã³ãã«ãããã¨ããã ctl-
       D ã¨ã¿ã¤ãããã°ãã¢ã»ã³ãã«ããããã°ã©ã ã®çµããã as
       ã«ä¼ãããã¨ãã§ãããæ¨æºå¥åãã¡ã¤ã«ãç¨ãããã¨ãã³ãã³ãã©ã¤ã³ã§æ 示ãããå ´åã«ã¯ --
       ãç¨ããã

       as ã¯è¦åãã¨ã©ã¼ã®ã¡ãã»ã¼ã¸ãæ¨æºã¨ã©ã¼åºå (é常ã¯ç«¯æ«) ã«æ¸ãåºããã ã ã
       as ãã³ã³ãã¤ã©ã«ãã£ã¦èªåçã«å®è¡ãããå ´åã«ã¯ãã®éã㧠ã¯ãªããè‐
       ¦åã¡ãã»ã¼ã¸ã¯ãããã°ã©ã ã«åé¡ (flaw) ããããã¢ã»ã³ãã«ã
       ç¶ããããã«ãã®ãããªä»®å®ãããããã¨ãå ±åãããã®ã§ãããã¨ã©ã¼ã¡ã
       ã»ã¼ã¸ã¯ãã¢ã»ã³ãã«ãåæ¢ããªããã°ãªããªãé大ãªé害ãåå¨ãããã㨠ãå ±åãããã®ã§ããã


ãªãã·ã§ã³
       -a     ã¢ã»ã³ããªãªã¹ãã表示ãããå¤ãã®å¯ãªãã·ã§ã³ãããã d ãããã°å½ä»¤ãé¤ãã h
              ã¯é«ä½ã¬ãã«ã®ã½ã¼ã¹ã³ã¼ããå«ãããããã¯ã½ã¼ã¹ãã¡ã¤ã«ã«ã¢ã¯ã»ã¹ã§ãã
              ã¾ãã³ã¼ãã -g ã§ã³ã³ãã¤ã«ãããå ´åã«ã®ã¿æå¹ã¨ãªãã l
              ã¯ã¢ã»ã³ããªãªã¹ããå«ããã n ã¯ãã©ã¼ã å¦çãå«ããªãã s
              ã¯ã·ã³ãã«ã®ãªã¹ããå«ãã = file ã¯ãªã¹ãã®ãã¡ã¤ã«åãè¨å®ããã
              ããã¯æå¾ã®å¯ãªãã·ã§ã³ã§ãªããã°ãªããªãã ããã©ã«ãã®å¯ãªãã·ã§ã³ã¯ hls
              ã§ããã

       -D     ä»ã®ã¢ã»ã³ãã©ã¨ã®äºææ§ã®ããã ãã«ç¨æããããªãã·ã§ã³ã§ããã as
              ã§ã¯å¹æãæããªãã

       --defsym SYM=VALUE
              å¥åãã¡ã¤ã«ãã¢ã»ã³ãã«ããåã«ã·ã³ãã« SYM ã®å¤ã VALUE ã«å®ç¾©ããã
              VALUE ã¯æ´å®æ°ã§ãªããã°ãªããªãã C ã¨åæ§ã« 0x ãåç½®ãããã° 16 é²
              æ°ã¨ãã¦æ±ããã 0 ãåç½®ãããã° 8 é²æ°ã¨ãã¦æ±ãããã

       -f     é«é (fast) ãªãã·ã§ã³ãããªããã»ã¹ãè¡ããªã (ã½ã¼ã¹ãã³ã³ãã¤ã©åºå
              ã§ããã¨ã¿ãªã)ã

       -I path
              .include å½ä»¤ã«ãããæ¢ç´¢ãªã¹ãã« path ã追å ããã

       --gstabs
              ã¢ã»ã³ããªåè¡ã«ãã¹ã¿ããããã°æå ± (stabs debugging information)
              ãçæããããããã¬ããã®æå ±ãæ±ããå ´åã
              ã¢ã»ã³ããªã³ã¼ãã®ãããã°ã«å½¹ç«ã¤ãããããªãã


       -K     long displacement ã®ããã® difference table ãå¤æ´ãããã¨ãã«è‐
              ¦åã¡ãã»ã¼ã¸ãçºããã

       -L     ã·ã³ãã«ãã¼ãã«ã«ãã¼ã«ã«ã·ã³ãã« ( L ã§å§ã¾ãã·ã³ãã«) ãä¿åããã

       -M, --mri
              MRI äºæã¢ã¼ãã§ã¢ã»ã³ãã«ããã

       -o objfile
              as ãåºåãããªãã¸ã§ã¯ããã¡ã¤ã«ã®ååãã¤ããã

       -R     ãã¼ã¿ã»ã¯ã·ã§ã³ãããã¹ãã»ã¯ã·ã§ã³ã¨ä¸ç·ã«ããã

       --traditional-format
              å¯è½ãªããã¤ãã£ãã®ã¢ã»ã³ãã©ã¨åãæ¸å¼ãç¨ããã

       -v     as ã®ãã¼ã¸ã§ã³ã表示ããã

       -W     è¦åã¡ãã»ã¼ã¸ãæå¶ããã

       -- | files...
              ã¢ã»ã³ãã«ããã½ã¼ã¹ãã¡ã¤ã«ãæå®ãã ('--' ã¯æ¨æºå¥å)ã

       -Avar  (Intel 960 ç¨ãªãã·ã§ã³) 960 ã¢ã¼ã‐
              ãã¯ãã£ã®ã©ã®ã¿ã¤ããã¿ã¼ã²ããã¨ããããæå®ããã

       -b     (Intel 960 ç¨ãªãã·ã§ã³) åå² (branch)
              ã«é¢ããçµ±è¨æå ±ãåå¾ããã³ã¼ãã追å ããã

       -no-relax
              (Intel 960 ç¨ãªãã·ã§ã³) long displacement
              ã®ããã«æ¯è¼-åå²å½ä»¤ãå¤æ´ããªããå¿è¦ãªå ´åã¯ã¨ã©ã¼ ã¨ããã

       -l     (Motorola 68000 ç¨ãªãã·ã§ã³) æªå®ç¾©ã·ã³ãã«ã¸ã®ãªãã¡ã¬ã³ã¹ã 2
              ã¯ã¼ãã§ã¯ãªã 1 ã¯ã¼ãã«ç縮ããã

       -mc68000|-mc68010|-mc68020
              (Motorola 68000 ç¨ãªãã·ã§ã³) 68000 ãã¡ããªã®ã©ã®ãã‐
              ã»ããµãã¿ã¼ã²ããã¨ããããæå®ãã (ããã©ã« ã㯠68020)ã

       ãªãã·ã§ã³ã®æå®é åºã¯ä»»æã§ãããã¾ããã¡ã¤ã«åã®åã§ãå¾ã§ãéã§ãã
       ããä¸æ¹ãã¡ã¤ã«åã®é åºã¯éè¦ãªæå³ãæã¤ã

       -- ã®ããã«ãã¤ãã³äºã¤ã ããæå®ããå ´åã¯ã as
       ãã¢ã»ã³ãã«ãããã¡ã¤ã«ã®ã²ã¨ã¤ã¨ãã¦æ¨æºå¥åãæ示çã«æå®ãããã¨ã« ãªãã

       `--' ãé¤ãããã¤ãã³ (`-') ã§å§ã¾ãå¨ã¦ã®ã³ãã³ãã© ã¤ã³å¼æ°ã¯ãªãã·ã§
       ã³ã§ãããããããã®ãªãã·ã§ã³ã¯ as ã®æ¯ãèããå¤æ´ãããã¾ãã
       ããªãã·ã§ã³ã«ãã£ã¦ä»ã®ãªãã·ã§ã³ãå½±é¿ããããã¨ã¯ãªãããªãã·ã§ã³ã¯ `-'
       ã«ä¸ã¤ã¾ãã¯äºã¤ã®æåãä»ãããã®ã§ããã大æåã¨å°æåã¯
       å¥ã®æå³ãæã¤ãå¨ã¦ã®ãªãã·ã§ã³ã¯æå®ãã¦ãããªãã¦ãè¯ãã

       `-o' ãªãã·ã§ã³ã®å¾ã«ã¯ãã¡ã¤ã«åãä¸ã¤ã ãæå®ããããã¡ã¤ã«å ã¯ãªãã·ã§ã³æå‐
       ã®ç´å¾ã«æå®ãã¦ãè¯ã (å¤ãã¢ã»ã³ãã©ã¨ã®äºæã®ãã)
       ãã次ã®ã³ãã³ãå¼æ°ã¨ãã¦æå®ãã¦ãè¯ã (GNU æµ)ã

       以ä¸ã®äºã¤ã®ã³ãã³ãã©ã¤ã³ã¯ç価ã§ãã:
       as  -o  my-object-file.o  mumble.s
       as  -omy-object-file.o  mumble.s


é¢é£é ç®
       info ã® `as' ã¨ã³ããª; Using as: The GNU Assembler; gcc(1ld(1)


èä½æ¨©
       Copyright (c) 1991, 1992 Free Software Foundation, Inc.

       Permission is granted to make and distribute verbatim copies of this
       manual provided the copyright notice and this permission notice are
       preserved on all copies.

       Permission is granted to copy and distribute modified versions of this
       manual under the conditions for verbatim copying, provided that the
       entire resulting derived work is distributed under the terms of a
       permission notice identical to this one.

       Permission is granted to copy and distribute translations of this
       manual into another language, under the above conditions for modified
       versions, except that this permission notice may be included in
       translations approved by the Free Software Foundation instead of in the
       original English.




cygnus support                   29 March 1996                           as(1)