mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
15 lines
338 B
ArmAsm
15 lines
338 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-comments */
|
|
|
|
#include "common.h"
|
|
LKMC_ENTRY
|
|
# mycomment
|
|
@ mycomment
|
|
/* # only works at the beginning of the line.
|
|
* Error: garbage following instruction -- `nop #comment'
|
|
*/
|
|
#if 0
|
|
nop # mycomment
|
|
#endif
|
|
nop @ mycomment
|
|
LKMC_EXIT
|