.file "main.cpp"
.def ___main; .scl 2 ; .type 32 ; .endef
.section .rdata , "dr"
LC0:
.ascii "%d\0 "
.text
.globl _main
.def _main; .scl 2 ; .type 32 ; .endef
_main:
LFB8:
.cfi_startproc
pushl % ebp
.cfi_def_cfa_offset 8
.cfi_offset 5 , - 8
movl % esp, % ebp
.cfi_def_cfa_register 5
andl $- 16 , % esp
subl $32 , % esp
call ___main
movl $0 , 28 ( % esp)
movl $0 , 24 ( % esp)
jmp L2
L3:
movl 24 ( % esp) , % eax
addl % eax, 28 ( % esp)
incl 24 ( % esp)
L2:
cmpl $100 , 24 ( % esp)
setle % al
testb % al, % al
jne L3
movl 28 ( % esp) , % eax
movl % eax, 4 ( % esp)
movl $LC0, ( % esp)
call _printf
movl $0 , % eax
leave
.cfi_restore 5
.cfi_def_cfa 4 , 4
ret
.cfi_endproc
LFE8:
.def _printf; .scl 2 ; .type 32 ; .endef
CS5maWxlCSJtYWluLmNwcCIKCS5kZWYJX19fbWFpbjsJLnNjbAkyOwkudHlwZQkzMjsJLmVuZGVmCgkuc2VjdGlvbiAucmRhdGEsImRyIgpMQzA6CgkuYXNjaWkgIiVkXDAiCgkudGV4dAoJLmdsb2JsCV9tYWluCgkuZGVmCV9tYWluOwkuc2NsCTI7CS50eXBlCTMyOwkuZW5kZWYKX21haW46CkxGQjg6CgkuY2ZpX3N0YXJ0cHJvYwoJcHVzaGwJJWVicAoJLmNmaV9kZWZfY2ZhX29mZnNldCA4CgkuY2ZpX29mZnNldCA1LCAtOAoJbW92bAklZXNwLCAlZWJwCgkuY2ZpX2RlZl9jZmFfcmVnaXN0ZXIgNQoJYW5kbAkkLTE2LCAlZXNwCglzdWJsCSQzMiwgJWVzcAoJY2FsbAlfX19tYWluCgltb3ZsCSQwLCAyOCglZXNwKQoJbW92bAkkMCwgMjQoJWVzcCkKCWptcAlMMgpMMzoKCW1vdmwJMjQoJWVzcCksICVlYXgKCWFkZGwJJWVheCwgMjgoJWVzcCkKCWluY2wJMjQoJWVzcCkKTDI6CgljbXBsCSQxMDAsIDI0KCVlc3ApCglzZXRsZQklYWwKCXRlc3RiCSVhbCwgJWFsCglqbmUJTDMKCW1vdmwJMjgoJWVzcCksICVlYXgKCW1vdmwJJWVheCwgNCglZXNwKQoJbW92bAkkTEMwLCAoJWVzcCkKCWNhbGwJX3ByaW50ZgoJbW92bAkkMCwgJWVheAoJbGVhdmUKCS5jZmlfcmVzdG9yZSA1CgkuY2ZpX2RlZl9jZmEgNCwgNAoJcmV0CgkuY2ZpX2VuZHByb2MKTEZFODoKCS5kZWYJX3ByaW50ZjsJLnNjbAkyOwkudHlwZQkzMjsJLmVuZGVm
compilation info
prog.s: Assembler messages:
prog.s: Warning: end of file not at end of a line; newline inserted
prog.s:2: Error: unknown pseudo-op: `.def'
prog.s:2: Error: unknown pseudo-op: `.scl'
prog.s:2: Error: Missing symbol name in directive
prog.s:2: Error: unrecognized symbol type "32"
prog.s:2: Error: unknown pseudo-op: `.endef'
prog.s:3: Fatal error: bad .section directive: want a,w,x,M,S,G,T in string
stdout