4 years later. I am learning asm programming using the GNU Assembler. I did it as a practice:
.section .rodata .LC0: .string "This is the number: %d \n" .data .type str, @object str: .long .LC0 .section .text .globl main .type main, @function .extern printf main: push %ebp movl %esp, %ebp andl $-16, %esp subl $12, %esp movl $2600, 4(%esp) movl str, %edx
source share