Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
GNU Assembler
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Comments=== GAS supports two comment styles.<ref>{{cite web|last=Red Hat Inc.|title=Using as|url=http://sources.redhat.com/binutils/docs-2.12/as.info/Comments.html#Comments|access-date=Jan 10, 2013|archive-date=June 20, 2011|archive-url=https://web.archive.org/web/20110620054223/http://sources.redhat.com/binutils/docs-2.12/as.info/Comments.html#Comments|url-status=dead}}</ref> '''Multi-line''' As in C, multi-line comments start and end with mirroring slash-asterisk pairs: <syntaxhighlight lang="c"> /* comment */ </syntaxhighlight> '''Single-line''' Single line comments have a few different formats varying on which architecture is being assembled for. * A [[hash symbol]] (#) β [[i386]], [[x86-64]], [[i960]], [[68HC11]], [[68HC12]], [[VAX]], [[V850]], [[M32R]], [[PowerPC]], [[MIPS architecture|MIPS]], [[Motorola 68000 series|M680x0]], and [[RISC-V]] * A [[semicolon]] (;) β [[AMD 29k]] family, [[Advanced RISC Computing|ARC]], [[H8/300]] family, [[PA-RISC|HPPA]], [[PDP-11]], [[picoJava]], Motorola, and [[M32C]] * The [[at sign]] (@) β 32-bit [[ARM architecture|ARM]] * A double [[Slash (punctuation)|slash]] (//) β [[AArch64]] * A [[vertical bar]] (|) β [[Motorola 68000 series|M680x0]] * An [[exclamation mark]] (!) β [[SuperH|Renesas SH]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)