aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/ask/lista9/test.s
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2021-10-05 21:49:54 +0200
committerFranciszek Malinka <franciszek.malinka@gmail.com>2021-10-05 21:49:54 +0200
commitc5fcf7179a83ef65c86c6a4a390029149e518649 (patch)
treed29ffc5b86a0d257453cedcf87d91a13d8bf3b0d /semestr-4/ask/lista9/test.s
parentf8a88b6a4aba1f66d04711a9330eaba49a50c463 (diff)
Duzy commit ze smieciami
Diffstat (limited to 'semestr-4/ask/lista9/test.s')
-rw-r--r--semestr-4/ask/lista9/test.s50
1 files changed, 50 insertions, 0 deletions
diff --git a/semestr-4/ask/lista9/test.s b/semestr-4/ask/lista9/test.s
new file mode 100644
index 0000000..5e60585
--- /dev/null
+++ b/semestr-4/ask/lista9/test.s
@@ -0,0 +1,50 @@
+ .file "test.c"
+ .text
+ .globl foobar
+ .type foobar, @function
+foobar:
+.LFB0:
+ .cfi_startproc
+ endbr64
+ pushq %rbp
+ .cfi_def_cfa_offset 16
+ .cfi_offset 6, -16
+ movq %rsp, %rbp
+ .cfi_def_cfa_register 6
+ nop
+ popq %rbp
+ .cfi_def_cfa 7, 8
+ ret
+ .cfi_endproc
+.LFE0:
+ .size foobar, .-foobar
+ .section .rodata
+ .align 16
+ .type baz, @object
+ .size baz, 24
+baz:
+ .ascii "abc"
+ .zero 1
+ .long 42
+ .quad -3
+ .long 1068827777
+ .zero 4
+ .comm array,800,32
+ .ident "GCC: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0"
+ .section .note.GNU-stack,"",@progbits
+ .section .note.gnu.property,"a"
+ .align 8
+ .long 1f - 0f
+ .long 4f - 1f
+ .long 5
+0:
+ .string "GNU"
+1:
+ .align 8
+ .long 0xc0000002
+ .long 3f - 2f
+2:
+ .long 0x3
+3:
+ .align 8
+4: