Skip to content
Snippets Groups Projects
Select Git revision
  • a095fa9e7977af44b1ea6da43e48ffa759eca088
  • 2025ss default
  • 2024ss
  • 2023ss
  • 2022ss
  • 2021ss
  • 2020ss
  • 2019ss
  • 2018ss
9 results

arrays-and-pointers-22.s

Blame
  • arrays-and-pointers-22.s 834 B
    	.file	"arrays-and-pointers-21.c"
    	.text
    	.section	.rodata
    .LC0:
    	.string	"Dies"
    	.string	"ist\000"     # manuell eingefügt
    	.string	"ein\000"     # manuell eingefügt
    	.string	"Test"        # manuell eingefügt
    	.string	""            # manuell eingefügt
    	.text
    	.globl	main
    	.type	main, @function
    main:
    .LFB0:
    	.cfi_startproc
    	pushq	%rbp
    	.cfi_def_cfa_offset 16
    	.cfi_offset 6, -16
    	movq	%rsp, %rbp
    	.cfi_def_cfa_register 6
    	subq	$16, %rsp
    	leaq	.LC0(%rip), %rax
    	movq	%rax, -8(%rbp)
    	jmp	.L2
    .L3:
    	movq	-8(%rbp), %rax
    	leaq	5(%rax), %rdx
    	movq	%rdx, -8(%rbp)
    	movq	%rax, %rdi
    	call	puts@PLT
    .L2:
    	movq	-8(%rbp), %rax
    	movzbl	(%rax), %eax
    	testb	%al, %al
    	jne	.L3
    	movl	$0, %eax
    	leave
    	.cfi_def_cfa 7, 8
    	ret
    	.cfi_endproc
    .LFE0:
    	.size	main, .-main
    	.ident	"GCC: (Debian 12.2.0-14) 12.2.0"
    	.section	.note.GNU-stack,"",@progbits