fork download
  1. .data
  2. x:
  3. .long 0
  4. s:
  5. .string "%d\n\0"
  6. y:
  7. .long 5
  8.  
  9. .text
  10. .global main
  11. main: # int main()
  12. # {
  13.  
  14. pushl y # printf("%d\n", y);
  15. pushl $s
  16. call printf }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
1
2
10
42
11
compilation info
prog.s: Assembler messages:
prog.s:16: Error: junk `}' after expression
stdout
Standard output is empty