summaryrefslogtreecommitdiff
path: root/3/3_data_formats/mstore/mstore.s
diff options
context:
space:
mode:
Diffstat (limited to '3/3_data_formats/mstore/mstore.s')
-rw-r--r--3/3_data_formats/mstore/mstore.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/3/3_data_formats/mstore/mstore.s b/3/3_data_formats/mstore/mstore.s
new file mode 100644
index 0000000..e215a2b
--- /dev/null
+++ b/3/3_data_formats/mstore/mstore.s
@@ -0,0 +1,21 @@
+ .file "mstore.c"
+ .text
+ .globl multstore
+ .type multstore, @function
+multstore:
+.LFB0:
+ .cfi_startproc
+ pushq %rbx
+ .cfi_def_cfa_offset 16
+ .cfi_offset 3, -16
+ movq %rdx, %rbx
+ call mult2@PLT
+ movq %rax, (%rbx)
+ popq %rbx
+ .cfi_def_cfa_offset 8
+ ret
+ .cfi_endproc
+.LFE0:
+ .size multstore, .-multstore
+ .ident "GCC: (GNU) 12.3.0"
+ .section .note.GNU-stack,"",@progbits