summaryrefslogtreecommitdiff
path: root/dataimp/drctve/a.s
diff options
context:
space:
mode:
Diffstat (limited to 'dataimp/drctve/a.s')
-rw-r--r--dataimp/drctve/a.s31
1 files changed, 31 insertions, 0 deletions
diff --git a/dataimp/drctve/a.s b/dataimp/drctve/a.s
new file mode 100644
index 0000000..b83280b
--- /dev/null
+++ b/dataimp/drctve/a.s
@@ -0,0 +1,31 @@
+ .file "a.c"
+ .section .text.startup,"x"
+ .p2align 4,,15
+ .globl main
+ .def main; .scl 2; .type 32; .endef
+ .seh_proc main
+main:
+.LFB0:
+ .cfi_startproc
+ .seh_pushreg %rbx
+ pushq %rbx
+ .cfi_def_cfa_offset 16
+ .cfi_offset 3, -16
+ .seh_stackalloc 32
+ subq $32, %rsp
+ .cfi_def_cfa_offset 48
+ .seh_endprologue
+ movl %ecx, %ebx
+ movq stdout(%rip), %rcx
+ call fflush
+ movl %ebx, %eax
+ addq $32, %rsp
+ .cfi_def_cfa_offset 16
+ popq %rbx
+ .cfi_def_cfa_offset 8
+ .cfi_restore 3
+ ret
+ .cfi_endproc
+.LFE0:
+ .seh_endproc
+ .def fflush; .scl 2; .type 32; .endef