Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.78 KB

as.md

File metadata and controls

42 lines (33 loc) · 1.78 KB
layout title description content_hash last_modified_at related_topics tldri18n_status
page
osx/as (English)
Portable GNU assembler.
f1c5e361990101e5b691b67597de3dfc80c05563
2024-01-31
title url icon
español version
/es/osx/as.html
bi bi-globe
title url icon
italiano version
/it/osx/as.html
bi bi-globe
title url icon
português (Brasil) version
/pt_BR/osx/as.html
bi bi-globe
title url icon
中文 version
/zh/osx/as.html
bi bi-globe
2

as

Portable GNU assembler. Primarily intended to assemble output from gcc to be used by ld. More information: https://keith.github.io/xcode-man-pages/as.1.html.

  • Assemble a file, writing the output to a.out:

as path/to/file.s

  • Assemble the output to a given file:

as path/to/file.s-opath/to/output_file.o

  • Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers):

as -f path/to/file.s

  • Include a given path to the list of directories to search for files specified in .include directives:

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