xscale_be-gasp.1
来自「Intel ixp425 toolchain」· 1 代码 · 共 180 行
1
180 行
.\" gasp man page by Christopher C. Chimelis, chris@debian.org.\" for binutils 2.9.5.0.12 17 Sep 1999.TH gasp 1 "September 1999" Debian "GNU Development Tools".SH NAMEgasp \- a preprocessor for assembly programs.SH SYNOPSIS.hy 0.na.TP.B gasp.RB "[\|" \-a | \-\-alternate "\|]".RB "[\|" "\-c\ "\c.I CHAR\c.RB " | " "\-\-commentchar\ "\c.I CHAR\c\&\|].RB "[\|" \-d | \-\-debug "\|]".RB "[\|" \-h | \-\-help "\|]".RB "[\|" \-M | \-\-mri "\|]".RB "[\|" "\-o\ "\c.I OUTFILE\c.RB " | " "\-\-output\ "\c.I OUTFILE\c\&\|].RB "[\|" \-p | \-\-print "\|]".RB "[\|" \-s | \-\-copysource "\|]".RB "[\|" \-u | \-\-unreasonable "\|]".RB "[\|" \-v | \-\-version "\|]".I INFILE \c\&.\|.\..ad b.hy 1.SH DESCRIPTION\cThe primary purpose of the GNU assembler is to assemble the output ofother programs--notably compilers. When you have to hand-codespecialized routines in assembly, that means the GNU assembler is anunfriendly processor: it has no directives for macros, conditionals, ormany other conveniences that you might expect.In some cases you can simply use the C preprocessor, or a generalizedpreprocessor like M4; but this can be awkward, since none of thesethings are designed with assembly in mind..B gasp \cfills this need. It is expressly designed to provide thefacilities you need with hand-coded assembly code. Implementing it as apreprocessor, rather than part of the assembler, allows the maximumflexibility: you can use it with hand-coded assembly, without paying apenalty of added complexity in the assembler you use for compileroutput..PP.IR "INFILE" .\|.\|.are the files to be preprocessed..SH OPTIONSThe simplest way to use GASP is to run it as a filter and assembleits output. In Unix and its ilk, you can do this, for example: $ gasp prog.asm | as -o prog.oNaturally, there are also a few command-line options to allow you torequest variations on this basic theme. Here is the full set ofpossibilities for the GASP command line..TP.B \-a.TP.B \-\-alternateUse alternative macro syntax. *Note Alternate macro syntax:Alternate, for a discussion of how this syntax differs from thedefault GASP syntax..TP.BI "\-c " CHAR.TP.BI "\-\-commentchar " CHARUse CHAR as the comment character. The default comment characteris `!'. For example, to use a semicolon as the comment character,specify `-c ';'' on the GASP command line. Since assemblercommand characters often have special significance to commandshells, it is a good idea to quote or escape CHAR when you specifya comment character.For the sake of simplicity, all examples in this manual use thedefault comment character `!'..TP.B \-d.TP.B \-\-debugShow debugging statistics. In this version of GASP, this optionproduces statistics about the string buffers that GASP allocatesinternally. For each defined buffersize S, GASP shows the numberof strings N that it allocated, with a line like this: strings size S : NGASP displays these statistics on the standard error stream, whendone preprocessing..TP.B \-h.TP.B \-\-helpDisplay a summary of the GASP command line options..TP.B \-M.TP.B \-\-mriUse MRI compatibility mode. Using this option causes GASP toaccept the syntax and pseudo-ops used by the Microtec Research`ASM68K' assembler..TP.BI "\-o " OUTFILE.TP.BI "\-\-output " OUTFILE`-o OUTFILE'`--output OUTFILE'Write the output in a file called OUTFILE. If you do not use the`-o' option, GASP writes its output on the standard output stream..TP.B \-p.TP.B \-\-printPrint line numbers. GASP obeys this option _only_ if you alsospecify `-s' to copy source lines to its output. With `-s -p',GASP displays the line number of each source line copied(immediately after the comment character at the beginning of theline)..TP.B \-s.TP.B \-\-copysourceCopy the source lines to the output file. Use this option to seethe effect of each preprocessor line on the GASP output. GASPplaces a comment character (`!' by default) at the beginning ofeach source line it copies, so that you can use this option andstill assemble the result..TP.B \-u.TP.B \-\-unreasonableBypass "unreasonable expansion" limit. Since you can define GASPmacros inside other macro definitions, the preprocessor normallyincludes a sanity check. If your program requires more than 1,000nested expansions, GASP normally exits with an error message. Usethis option to turn off this check, allowing unlimited nestedexpansions..TP.B \-v.TP.B \-\-versionDisplay the GASP version number..TP.IB INFILE \ .\.\.The input file names. You must specify at least one input file;if you specify more, GASP preprocesses them all, concatenating theoutput in the order you list the INFILE arguments.Mark the end of each input file with the preprocessor command`.END'..SH SEE ALSO.RB "`\|" gasp "\|'"entry in.B info\c\&;.IThe GNU Binary Utilities\c\&, Roland H. Pesch (October 1991);.BR gasp "(" 1 ")."
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?