Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
11 years ago
Diff never expires
Clear
Export
Share
Explain
65 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
95 lines
Copy
67 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
96 lines
Copy
.section .rodata.str1.1,"aMS",@progbits,1
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.LC0:
.string "%d, "
.string "%d, "
.text
.text
.p2align 4,,15
.p2align 4,,15
.globl main
.globl main
.type main, @function
.type main, @function
main:
main:
.LFB22:
.LFB22:
.cfi_startproc
.cfi_startproc
pushq %rbp #
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
Copy
Copied
Copy
Copied
xorl %
eax
, %
eax
#
array_ptr
xorl %
ebp
, %
ebp
#
n
xorl %esi, %esi # n
.cfi_offset 6, -16
pushq %rbx #
pushq %rbx #
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
subq $40, %rsp #,
subq $40, %rsp #,
.cfi_def_cfa_offset 64
.cfi_def_cfa_offset 64
Copy
Copied
Copy
Copied
cmpq $12, %rax #, array_ptr
movw $50, (%rsp) #, array
movw $50, (%rsp) #, array
movw $-62, 2(%rsp) #, array
movw $-62, 2(%rsp) #, array
Copy
Copied
Copy
Copied
movq %rsp, %rbx #, tmp89
.cfi_offset 3, -24
movw $10, 4(%rsp) #, array
movw $10, 4(%rsp) #, array
movw $617, 6(%rsp) #, array
movw $617, 6(%rsp) #, array
Copy
Copied
Copy
Copied
movq %rsp, %rax #, array_ptr
movw $-174, 8(%rsp) #, array
movw $-174, 8(%rsp) #, array
movw $22, 10(%rsp) #, array
movw $22, 10(%rsp) #, array
Copy
Copied
Copy
Copied
leaq 24(%rsp), %rdi #, tmp90
movw $274, 12(%rsp) #, array
movw $274, 12(%rsp) #, array
movw $22, 14(%rsp) #, array
movw $22, 14(%rsp) #, array
movw $7, 16(%rsp) #, array
movw $7, 16(%rsp) #, array
movw $28, 18(%rsp) #, array
movw $28, 18(%rsp) #, array
movw $-2888, 20(%rsp) #, array
movw $-2888, 20(%rsp) #, array
movw $16, 22(%rsp) #, array
movw $16, 22(%rsp) #, array
movw $6, 24(%rsp) #, array
movw $6, 24(%rsp) #, array
Copy
Copied
Copy
Copied
je
.
L11 #,
jmp
.
L9
#
.cfi_offset 3, -24
.cfi_offset 6, -16
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L4:
.L4:
Copy
Copied
Copy
Copied
leaq 1(%rax), %rdx #, array_ptr
movzwl (
%rax
), %e
d
x
#*
array
_ptr
, D.4023
movzwl (
%rsp,
%rax
,2
), %e
c
x
#
array
, D.4023
movzwl
2(%rax
), %e
c
x
#
, D.4025
movzwl
(%rsp,%rdx,2
), %e
b
x
# array
, D.4025
leaq 2(%rax), %rsi #, array_ptr
cmpw %
bx
, %
cx
# D.4025, D.4023
cmpw %
cx
, %
dx
# D.4025, D.4023
jle .L3 #,
jle .L3 #,
Copy
Copied
Copy
Copied
xorl %e
b
x, %e
c
x # D.4025, D.4028
xorl %e
c
x, %e
d
x # D.4025, D.4028
movl $1, %
esi
#, n
movl $1, %
ebp
#, n
movw %
cx
, (
%rsp,
%rax
,2)
# D.4028,
array
movw %
dx
, (
%rax
)
# D.4028,
*
array
_ptr
xor
w
(%rsp,%rdx,2)
, %
cx
#
array
, D.4028
xor
l
%ecx
, %
edx
#
, D.4028
movw
%
cx
, (%
rsp,%rdx,2)
# D.4028,
array
xorw
%
dx
, (%
rax)
# D.4028,
*
array
_ptr
xorw
%
cx, (%rsp,
%rax
,2)
# D.4028,
array
movw
%
dx, 2(
%rax
)
# D.4028,
.L3:
.L3:
Copy
Copied
Copy
Copied
movq %
rdx
, %rax # array_ptr, array_ptr
movq %
rsi
, %rax # array_ptr, array_ptr
cmpq
$12
, %rax
#
, array_ptr
.L9:
cmpq
%rdi
, %rax
# tmp90
, array_ptr
jne .L4 #,
jne .L4 #,
Copy
Copied
Copy
Copied
.L11:
testb %
bpl
, %
bpl
# n
testb %
sil
, %
sil
# n
je .L1
1
#,
je .L1
2
#,
xorl %
ebp
, %
ebp
# n
xorl %
esi
, %
esi
# n
movq
%
rsp
, %
r
ax #
,
array_ptr
xorl
%
eax
, %
e
ax #
array_ptr
jmp .
L9
#
jmp .
L4
#
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
Copy
Copied
Copy
Copied
.L1
2
:
.L1
1
:
xorl
%ebx
, %
ebx
#
array_ptr
leaq
26(%rbx)
, %
rbp
#
, D.4051
movq %rsp, %rb
p
#,
tmp86
movq %rsp, %rb
x
#,
array_ptr
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L6:
.L6:
Copy
Copied
Copy
Copied
movswl
0(%rbp,
%rbx
,2
), %esi #
array
, tmp84
movswl
(
%rbx
), %esi #
*
array
_ptr, D.4030
xorl %eax, %eax #
xorl %eax, %eax #
Copy
Copied
Copy
Copied
addq $2, %rbx #, array_ptr
movl $.LC0, %edi #,
movl $.LC0, %edi #,
Copy
Copied
Copy
Copied
addq $1, %rbx #, array_ptr
call printf #
call printf #
Copy
Copied
Copy
Copied
cmpq
$13
, %rbx
#
, array_ptr
cmpq
%rbp
, %rbx
# D.4051
, array_ptr
jne .L6 #,
jne .L6 #,
movl $10, %edi #,
movl $10, %edi #,
call putchar #
call putchar #
addq $40, %rsp #,
addq $40, %rsp #,
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
xorl %eax, %eax #
xorl %eax, %eax #
popq %rbx #
popq %rbx #
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
popq %rbp #
popq %rbp #
.cfi_def_cfa_offset 8
.cfi_def_cfa_offset 8
ret
ret
.cfi_endproc
.cfi_endproc
.LFE22:
.LFE22:
.size main, .-main
.size main, .-main
.ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]"
.ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]"
.section .comment.SUSE.OPTs,"MS",@progbits,1
.section .comment.SUSE.OPTs,"MS",@progbits,1
.string "Ospwg"
.string "Ospwg"
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",@progbits
Saved diffs
Original text
Open file
.section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "%d, " .text .p2align 4,,15 .globl main .type main, @function main: .LFB22: .cfi_startproc pushq %rbp # .cfi_def_cfa_offset 16 xorl %eax, %eax # array_ptr xorl %esi, %esi # n pushq %rbx # .cfi_def_cfa_offset 24 subq $40, %rsp #, .cfi_def_cfa_offset 64 cmpq $12, %rax #, array_ptr movw $50, (%rsp) #, array movw $-62, 2(%rsp) #, array movw $10, 4(%rsp) #, array movw $617, 6(%rsp) #, array movw $-174, 8(%rsp) #, array movw $22, 10(%rsp) #, array movw $274, 12(%rsp) #, array movw $22, 14(%rsp) #, array movw $7, 16(%rsp) #, array movw $28, 18(%rsp) #, array movw $-2888, 20(%rsp) #, array movw $16, 22(%rsp) #, array movw $6, 24(%rsp) #, array je .L11 #, .cfi_offset 3, -24 .cfi_offset 6, -16 .p2align 4,,10 .p2align 3 .L4: leaq 1(%rax), %rdx #, array_ptr movzwl (%rsp,%rax,2), %ecx # array, D.4023 movzwl (%rsp,%rdx,2), %ebx # array, D.4025 cmpw %bx, %cx # D.4025, D.4023 jle .L3 #, xorl %ebx, %ecx # D.4025, D.4028 movl $1, %esi #, n movw %cx, (%rsp,%rax,2) # D.4028, array xorw (%rsp,%rdx,2), %cx # array, D.4028 movw %cx, (%rsp,%rdx,2) # D.4028, array xorw %cx, (%rsp,%rax,2) # D.4028, array .L3: movq %rdx, %rax # array_ptr, array_ptr cmpq $12, %rax #, array_ptr jne .L4 #, .L11: testb %sil, %sil # n je .L12 #, xorl %esi, %esi # n xorl %eax, %eax # array_ptr jmp .L4 # .p2align 4,,10 .p2align 3 .L12: xorl %ebx, %ebx # array_ptr movq %rsp, %rbp #, tmp86 .p2align 4,,10 .p2align 3 .L6: movswl 0(%rbp,%rbx,2), %esi # array, tmp84 xorl %eax, %eax # movl $.LC0, %edi #, addq $1, %rbx #, array_ptr call printf # cmpq $13, %rbx #, array_ptr jne .L6 #, movl $10, %edi #, call putchar # addq $40, %rsp #, .cfi_def_cfa_offset 24 xorl %eax, %eax # popq %rbx # .cfi_def_cfa_offset 16 popq %rbp # .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE22: .size main, .-main .ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]" .section .comment.SUSE.OPTs,"MS",@progbits,1 .string "Ospwg" .section .note.GNU-stack,"",@progbits
Changed text
Open file
.section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "%d, " .text .p2align 4,,15 .globl main .type main, @function main: .LFB22: .cfi_startproc pushq %rbp # .cfi_def_cfa_offset 16 xorl %ebp, %ebp # n .cfi_offset 6, -16 pushq %rbx # .cfi_def_cfa_offset 24 subq $40, %rsp #, .cfi_def_cfa_offset 64 movw $50, (%rsp) #, array movw $-62, 2(%rsp) #, array movq %rsp, %rbx #, tmp89 .cfi_offset 3, -24 movw $10, 4(%rsp) #, array movw $617, 6(%rsp) #, array movq %rsp, %rax #, array_ptr movw $-174, 8(%rsp) #, array movw $22, 10(%rsp) #, array leaq 24(%rsp), %rdi #, tmp90 movw $274, 12(%rsp) #, array movw $22, 14(%rsp) #, array movw $7, 16(%rsp) #, array movw $28, 18(%rsp) #, array movw $-2888, 20(%rsp) #, array movw $16, 22(%rsp) #, array movw $6, 24(%rsp) #, array jmp .L9 # .p2align 4,,10 .p2align 3 .L4: movzwl (%rax), %edx #* array_ptr, D.4023 movzwl 2(%rax), %ecx #, D.4025 leaq 2(%rax), %rsi #, array_ptr cmpw %cx, %dx # D.4025, D.4023 jle .L3 #, xorl %ecx, %edx # D.4025, D.4028 movl $1, %ebp #, n movw %dx, (%rax) # D.4028,* array_ptr xorl %ecx, %edx #, D.4028 xorw %dx, (%rax) # D.4028,* array_ptr movw %dx, 2(%rax) # D.4028, .L3: movq %rsi, %rax # array_ptr, array_ptr .L9: cmpq %rdi, %rax # tmp90, array_ptr jne .L4 #, testb %bpl, %bpl # n je .L11 #, xorl %ebp, %ebp # n movq %rsp, %rax #, array_ptr jmp .L9 # .p2align 4,,10 .p2align 3 .L11: leaq 26(%rbx), %rbp #, D.4051 movq %rsp, %rbx #, array_ptr .p2align 4,,10 .p2align 3 .L6: movswl (%rbx), %esi #* array_ptr, D.4030 xorl %eax, %eax # addq $2, %rbx #, array_ptr movl $.LC0, %edi #, call printf # cmpq %rbp, %rbx # D.4051, array_ptr jne .L6 #, movl $10, %edi #, call putchar # addq $40, %rsp #, .cfi_def_cfa_offset 24 xorl %eax, %eax # popq %rbx # .cfi_def_cfa_offset 16 popq %rbp # .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE22: .size main, .-main .ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]" .section .comment.SUSE.OPTs,"MS",@progbits,1 .string "Ospwg" .section .note.GNU-stack,"",@progbits
Find difference