as Command Examples

Portable GNU assembler. Primarily intended to assemble output from gcc to be used by ld. More information: https://manned.org/as.

as {{path/to/file.s}}

as {{path/to/file.s}} -o {{path/to/output_file.o}}

as -f {{path/to/file.s}}

as -I {{path/to/directory}} {{path/to/file.s}}