Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

as

Section: GNU Development Tools (1)
Updated: 29 March 1996
Index Return to Main Contents

 

̾Á°

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(1)¡¢ ld(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.


 

Index

̾Á°
½ñ¼°
ÀâÌÀ
¥ª¥×¥·¥ç¥ó
´ØÏ¢¹àÌÜ
Ãøºî¸¢

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man1". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.