nihonium
/
mipt_clang
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

43 lines
582 B
ArmAsm

.file "switch.c"
.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
movl $1, -4(%rbp)
cmpl $4, -4(%rbp)
jg .L2
cmpl $3, -4(%rbp)
jge .L3
cmpl $1, -4(%rbp)
je .L4
cmpl $2, -4(%rbp)
je .L5
jmp .L2
.L4:
movl $1, %eax
jmp .L6
.L5:
movl $2, %eax
jmp .L6
.L3:
movl $113, %eax
jmp .L6
.L2:
movl $0, %eax
.L6:
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (GNU) 11.2.0"
.section .note.GNU-stack,"",@progbits