We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf3d35 commit 279ab1aCopy full SHA for 279ab1a
3 files changed
README.md
@@ -145,7 +145,7 @@ x86 IA-32 and x86-64 userland minimal examples tutorial. Hundreds of runnable as
145
1. [.macro](gas/macro.S)
146
1. [.altmacro](gas/altmacro.S)
147
1. [.irp](gas/irp.S)
148
- 1. [Comments](gas/comments.md)
+ 1. [Comments](gas/comments.S)
149
1. Infrastructure
150
1. [lib_test](gas/lib_test.S)
151
1. [Bibliography](gas/bibliogrpahy.md)
gas/comments.S
@@ -0,0 +1,12 @@
1
+/* https://stackoverflow.com/questions/15663280/how-to-make-the-gnu-assembler-use-a-slash-for-comments/51991349#51991349 */
2
+
3
+#include "lib/common_gas.h"
4
5
+ENTRY
6
+ // mycomment
7
+ # mycomment
8
+#if 0
9
+ nop # mycomment
10
+#endif
11
+ nop // mycomment
12
+ EXIT
gas/comments.md
0 commit comments