Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
11年前
差异永不过期
清除
导出
分享
解释
65 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
95 行
全部复制
67 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
96 行
全部复制
.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
复制
已复制
复制
已复制
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
复制
已复制
复制
已复制
cmpq $12, %rax #, array_ptr
movw $50, (%rsp) #, array
movw $50, (%rsp) #, array
movw $-62, 2(%rsp) #, array
movw $-62, 2(%rsp) #, array
复制
已复制
复制
已复制
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
复制
已复制
复制
已复制
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
复制
已复制
复制
已复制
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
复制
已复制
复制
已复制
je
.
L11 #,
jmp
.
L9
#
.cfi_offset 3, -24
.cfi_offset 6, -16
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L4:
.L4:
复制
已复制
复制
已复制
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 #,
复制
已复制
复制
已复制
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:
复制
已复制
复制
已复制
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 #,
复制
已复制
复制
已复制
.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
复制
已复制
复制
已复制
.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:
复制
已复制
复制
已复制
movswl
0(%rbp,
%rbx
,2
), %esi #
array
, tmp84
movswl
(
%rbx
), %esi #
*
array
_ptr, D.4030
xorl %eax, %eax #
xorl %eax, %eax #
复制
已复制
复制
已复制
addq $2, %rbx #, array_ptr
movl $.LC0, %edi #,
movl $.LC0, %edi #,
复制
已复制
复制
已复制
addq $1, %rbx #, array_ptr
call printf #
call printf #
复制
已复制
复制
已复制
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
已保存差异
原始文本
打开文件
.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
更改后文本
打开文件
.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
查找差异