Advertisement
Guest User

refuge

a guest
Feb 20th, 2010
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.30 KB | None | 0 0
  1. .globl main
  2.     .type   main, @function
  3. main:
  4. .LFB0:
  5.     .cfi_startproc
  6.     pushq   %rbp
  7.     .cfi_def_cfa_offset 16
  8.     movq    %rsp, %rbp
  9.     .cfi_offset 6, -16
  10.     .cfi_def_cfa_register 6
  11.     movl    $0, -4(%rbp)
  12.     cmpl    $1, -4(%rbp)
  13.     jne .L2
  14.     addl    $1, -4(%rbp)
  15.     jmp .L3
  16. .L2:
  17.     cmpl    $2, -4(%rbp)
  18.     jne .L4
  19.     subl    $1, -4(%rbp)
  20.     jmp .L3
  21. .L4:
  22.     cmpl    $3, -4(%rbp)
  23.     jne .L5
  24.     addl    $1, -4(%rbp)
  25.     jmp .L3
  26. .L5:
  27.     cmpl    $4, -4(%rbp)
  28.     jne .L6
  29.     subl    $1, -4(%rbp)
  30.     jmp .L3
  31. .L6:
  32.     cmpl    $5, -4(%rbp)
  33.     jne .L7
  34.     subl    $1, -4(%rbp)
  35.     jmp .L3
  36. .L7:
  37.     cmpl    $6, -4(%rbp)
  38.     jne .L8
  39.     movl    $3, -4(%rbp)
  40.     jmp .L3
  41. .L8:
  42.     cmpl    $7, -4(%rbp)
  43.     jne .L9
  44.     movl    $255, -4(%rbp)
  45.     jmp .L3
  46. .L9:
  47.     cmpl    $8, -4(%rbp)
  48.     jne .L10
  49.     movl    $255, -4(%rbp)
  50.     jmp .L3
  51. .L10:
  52.     cmpl    $9, -4(%rbp)
  53.     jne .L11
  54.     movl    $42, -4(%rbp)
  55.     jmp .L3
  56. .L11:
  57.     cmpl    $10, -4(%rbp)
  58.     jne .L12
  59.     movl    $2049, -4(%rbp)
  60.     jmp .L3
  61. .L12:
  62.     cmpl    $11, -4(%rbp)
  63.     jne .L13
  64.     movl    $6, -4(%rbp)
  65.     jmp .L3
  66. .L13:
  67.     cmpl    $12, -4(%rbp)
  68.     jne .L14
  69.     movl    $250, -4(%rbp)
  70.     jmp .L3
  71. .L14:
  72.     cmpl    $13, -4(%rbp)
  73.     jne .L15
  74.     movl    $852, -4(%rbp)
  75.     jmp .L3
  76. .L15:
  77.     cmpl    $14, -4(%rbp)
  78.     jne .L16
  79.     addl    $8, -4(%rbp)
  80.     jmp .L3
  81. .L16:
  82.     cmpl    $15, -4(%rbp)
  83.     jne .L17
  84.     movl    $415, -4(%rbp)
  85.     jmp .L3
  86. .L17:
  87.     movl    $15, -4(%rbp)
  88. .L3:
  89.     movl    -4(%rbp), %eax
  90.     movl    %eax, -8(%rbp)
  91.     movl    $0, %eax
  92.     leave
  93.     ret
  94.     .cfi_endproc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement