equivalent of "dd" (nasm) in Gnu Assembler

I’d like to know how to translate "dd" from nasm to GAS. I can’t find it anywhere in the manual. Thanks >Solution : In NASM, the "dd" pseudo op defines a "double word" (e.g. 4 byte integer): http://www.tortall.net/projects/yasm/manual/html/nasm-pseudop.html ; Example: dd 0x12345678 ; 0x78 0x56 0x34 0x12 In Gas, the corresponding directive would typically be… Read More equivalent of "dd" (nasm) in Gnu Assembler

junk at end of line, first unrecognized character is `a' while defining a variable in assembly (arm64, gcc)

While defining a variable in a section like this, .section ".__mydebug", "aw" mydstart: .double 0x123456789abcdef0 myptr: .double 0x8888888899999999 I get arch/arm64/kernel/head.S:994: Error: junk at end of line, first unrecognized character is `a’ If I change 0x123456789abcdef0 to 0x1234567890000000, it compiles ok. So it seems the compiler (gcc) doesn’t understand the hex chanaracters. I tried 0x123456789ABCDEF0… Read More junk at end of line, first unrecognized character is `a' while defining a variable in assembly (arm64, gcc)