19 | | [--help] [--usage] [--version] [file...] |
20 | | |
21 | | ### Input |
22 | | |
23 | | An assembler read source from many files. If no input file specified an assembler |
24 | | will read source from standard input. |
25 | | |
26 | | ### Program options |
27 | | |
28 | | Following options `clrxasm` can recognize: |
29 | | |
30 | | * **-D SYMBOL=[VALUE]**, **--defsym=SYMBOL[=VALUE]** |
31 | | |
32 | | Define symbol. Value is optional and if it is not given then assembler set 0 by default. |
33 | | This option can be occurred many times to defining many symbols. |
34 | | |
35 | | * **-I PATH**, **--includePath=PATH** |
36 | | |
37 | | Add an include path to search path list. Assembler begins search from current directory |
| 15 | [--help] [--usage] [--version] [file...]</p> |
| 16 | <h3>Input</h3> |
| 17 | <p>An assembler read source from many files. If no input file specified an assembler |
| 18 | will read source from standard input.</p> |
| 19 | <h3>Program options</h3> |
| 20 | <p>Following options <code>clrxasm</code> can recognize:</p> |
| 21 | <ul> |
| 22 | <li> |
| 23 | <p><strong>-D SYMBOL=[VALUE]</strong>, <strong>--defsym=SYMBOL[=VALUE]</strong></p> |
| 24 | <p>Define symbol. Value is optional and if it is not given then assembler set 0 by default. |
| 25 | This option can be occurred many times to defining many symbols.</p> |
| 26 | </li> |
| 27 | <li> |
| 28 | <p><strong>-I PATH</strong>, <strong>--includePath=PATH</strong></p> |
| 29 | <p>Add an include path to search path list. Assembler begins search from current directory |
39 | | This option can be occurred many times to adding many include paths. |
40 | | |
41 | | * **-o FILENAME**, **--output=FILENAME** |
42 | | |
43 | | Set output file name. By default assembler write output to the 'a.out' file. |
44 | | |
45 | | * **-b BINFORMAT**, **--binaryFormat=BINFORMAT** |
46 | | |
47 | | Set output binary format. This settings can be overriden in source code. |
48 | | Assembler accepts following formats: 'amd', 'gallium', 'rawcode'. |
49 | | |
50 | | * **-6**, **--64bit** |
51 | | |
52 | | Enable generating of the 64-bit binaries (only for AMD catalyst format). |
53 | | |
54 | | * **-g GPUDEVICE**, **--gpuType=GPUDEVICE** |
55 | | |
56 | | Choose device type. Device type name is case-insensitive. |
| 31 | This option can be occurred many times to adding many include paths.</p> |
| 32 | </li> |
| 33 | <li> |
| 34 | <p><strong>-o FILENAME</strong>, <strong>--output=FILENAME</strong></p> |
| 35 | <p>Set output file name. By default assembler write output to the 'a.out' file.</p> |
| 36 | </li> |
| 37 | <li> |
| 38 | <p><strong>-b BINFORMAT</strong>, <strong>--binaryFormat=BINFORMAT</strong></p> |
| 39 | <p>Set output binary format. This settings can be overriden in source code. |
| 40 | Assembler accepts following formats: 'amd', 'gallium', 'rawcode'.</p> |
| 41 | </li> |
| 42 | <li> |
| 43 | <p><strong>-6</strong>, <strong>--64bit</strong></p> |
| 44 | <p>Enable generating of the 64-bit binaries (only for AMD catalyst format).</p> |
| 45 | </li> |
| 46 | <li> |
| 47 | <p><strong>-g GPUDEVICE</strong>, <strong>--gpuType=GPUDEVICE</strong></p> |
| 48 | <p>Choose device type. Device type name is case-insensitive. |
59 | | Hainan, Hawaii, Iceland, Tonga, Mullins, Fiji and Carrizo. |
60 | | |
61 | | * **-A ARCH**, **--arch=ARCH** |
62 | | |
63 | | Choose device architecture. Architecture name is case-insensitive. |
| 51 | Hainan, Hawaii, Iceland, Tonga, Mullins, Fiji and Carrizo.</p> |
| 52 | </li> |
| 53 | <li> |
| 54 | <p><strong>-A ARCH</strong>, <strong>--arch=ARCH</strong></p> |
| 55 | <p>Choose device architecture. Architecture name is case-insensitive. |
71 | | MajorVersion*100 + MinorVersion. |
72 | | |
73 | | * **-S**, **--forceAddSymbols** |
74 | | |
75 | | Add all non-local symbols to binaries. By default any assembler does not add any symbols |
76 | | to keep compatibility with original format. |
77 | | |
78 | | * **-w**, **--noWarnings** |
79 | | |
80 | | Do not print all warnings. |
81 | | |
82 | | * **-?**, **--help** |
83 | | |
84 | | Print help and list of the options. |
85 | | |
86 | | * **--usage** |
87 | | |
88 | | Print usage for this program |
89 | | |
90 | | * **--version** |
91 | | |
92 | | Print version |
93 | | |
94 | | ### Output |
95 | | |
96 | | An assembler generates single output binary. If no output specified an assembler will |
97 | | generate `a.out` binary file. `clrxasm` returns 0 if succeeded, otherwise |
98 | | it returns 1 and prints an error messages to stderr. |
99 | | |
100 | | }}} |
| 63 | MajorVersion*100 + MinorVersion.</p> |
| 64 | </li> |
| 65 | <li> |
| 66 | <p><strong>-S</strong>, <strong>--forceAddSymbols</strong></p> |
| 67 | <p>Add all non-local symbols to binaries. By default any assembler does not add any symbols |
| 68 | to keep compatibility with original format.</p> |
| 69 | </li> |
| 70 | <li> |
| 71 | <p><strong>-w</strong>, <strong>--noWarnings</strong></p> |
| 72 | <p>Do not print all warnings.</p> |
| 73 | </li> |
| 74 | <li> |
| 75 | <p><strong>-?</strong>, <strong>--help</strong></p> |
| 76 | <p>Print help and list of the options.</p> |
| 77 | </li> |
| 78 | <li> |
| 79 | <p><strong>--usage</strong></p> |
| 80 | <p>Print usage for this program</p> |
| 81 | </li> |
| 82 | <li> |
| 83 | <p><strong>--version</strong></p> |
| 84 | <p>Print version</p> |
| 85 | </li> |
| 86 | </ul> |
| 87 | <h3>Output</h3> |
| 88 | <p>An assembler generates single output binary. If no output specified an assembler will |
| 89 | generate <code>a.out</code> binary file. <code>clrxasm</code> returns 0 if succeeded, otherwise |
| 90 | it returns 1 and prints an error messages to stderr.</p>}}} |