.intel_syntax noprefix\x0d .text\x0d A:.ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZ"\x0d .globl main\x0d main:mov eax,4\x0d mov ebx,1\x0d lea ecx,A\x0d mov edx,26\x0d int 0x80\x0d ret
Note that non-ascii characters in the above source code will be escaped (such as \x9f).