Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Assembler output of string parameters without and with const (modify content)
建立於
10 年前
差異永不過期
清除
匯出
分享
解釋
14 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
39 行
全部複製
20 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
43 行
全部複製
複製
已複製
複製
已複製
P$CONSTPARAMETERSTR_$$_
BYVALUE
$ANSISTRING:
.globl
P$CONSTPARAMETERSTR_$$_
BYREFERENCE$ANSISTRING
P$CONSTPARAMETERSTR_$$_BYREFERENCE
$ANSISTRING:
# Temps allocated between ebp-44 and ebp-4
# Temps allocated between ebp-44 and ebp-4
複製
已複製
複製
已複製
# [
16
] begin
# [
24
] begin
pushl %ebp
pushl %ebp
movl %esp,%ebp
movl %esp,%ebp
leal -44(%esp),%esp
leal -44(%esp),%esp
複製
已複製
複製
已複製
# Var V located
at ebp-4, size=OS_32
pushl %ebx
movl %eax,
-4(%ebp)
# Var V located
in register ebx
call fpc_ansistr_incr_ref
# Var S located
at ebp-4, size=OS_32
movl %eax,
%ebx
# [27] end;
movl $0,
-4(%ebp)
movl $1,%eax
movl $1,%eax
leal -40(%ebp),%edx
leal -40(%ebp),%edx
leal -16(%ebp),%ecx
leal -16(%ebp),%ecx
call fpc_pushexceptaddr
call fpc_pushexceptaddr
call fpc_setjmp
call fpc_setjmp
pushl %eax
pushl %eax
testl %eax,%eax
testl %eax,%eax
複製
已複製
複製
已複製
jne .
Lj7
jne .
Lj11
# [
17] V
:= V + 'x';
# [
25] S
:= V + 'x';
pushl $0
pushl $0
複製
已複製
複製
已複製
movl
-4(
%eb
p)
,%edx
movl
%eb
x
,%edx
leal -4(%ebp),%eax
leal -4(%ebp),%eax
movl $.Ld1,%ecx
movl $.Ld1,%ecx
call fpc_ansistr_concat
call fpc_ansistr_concat
複製
已複製
複製
已複製
# [
18
] DoIt(
V
);
# [
26
] DoIt(
S
);
movl -4(%ebp),%eax
movl -4(%ebp),%eax
call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING
call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING
複製
已複製
複製
已複製
.
Lj7
:
.
Lj11
:
call fpc_popaddrstack
call fpc_popaddrstack
複製
已複製
複製
已複製
# [19] end;
leal -4(%ebp),%eax
leal -4(%ebp),%eax
call fpc_ansistr_decr_ref
call fpc_ansistr_decr_ref
popl %eax
popl %eax
testl %eax,%eax
testl %eax,%eax
複製
已複製
複製
已複製
je .
Lj8
je .
Lj12
call fpc_reraise
call fpc_reraise
複製
已複製
複製
已複製
.
Lj8:
.
Lj12:
popl %ebx
movl %ebp,%esp
movl %ebp,%esp
popl %ebp
popl %ebp
ret
ret
已保存差異
原始文本
開啟檔案
P$CONSTPARAMETERSTR_$$_BYVALUE$ANSISTRING: # Temps allocated between ebp-44 and ebp-4 # [16] begin pushl %ebp movl %esp,%ebp leal -44(%esp),%esp # Var V located at ebp-4, size=OS_32 movl %eax,-4(%ebp) call fpc_ansistr_incr_ref movl $1,%eax leal -40(%ebp),%edx leal -16(%ebp),%ecx call fpc_pushexceptaddr call fpc_setjmp pushl %eax testl %eax,%eax jne .Lj7 # [17] V := V + 'x'; pushl $0 movl -4(%ebp),%edx leal -4(%ebp),%eax movl $.Ld1,%ecx call fpc_ansistr_concat # [18] DoIt(V); movl -4(%ebp),%eax call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING .Lj7: call fpc_popaddrstack # [19] end; leal -4(%ebp),%eax call fpc_ansistr_decr_ref popl %eax testl %eax,%eax je .Lj8 call fpc_reraise .Lj8: movl %ebp,%esp popl %ebp ret
更改後文本
開啟檔案
.globl P$CONSTPARAMETERSTR_$$_BYREFERENCE$ANSISTRING P$CONSTPARAMETERSTR_$$_BYREFERENCE$ANSISTRING: # Temps allocated between ebp-44 and ebp-4 # [24] begin pushl %ebp movl %esp,%ebp leal -44(%esp),%esp pushl %ebx # Var V located in register ebx # Var S located at ebp-4, size=OS_32 movl %eax,%ebx # [27] end; movl $0,-4(%ebp) movl $1,%eax leal -40(%ebp),%edx leal -16(%ebp),%ecx call fpc_pushexceptaddr call fpc_setjmp pushl %eax testl %eax,%eax jne .Lj11 # [25] S := V + 'x'; pushl $0 movl %ebx,%edx leal -4(%ebp),%eax movl $.Ld1,%ecx call fpc_ansistr_concat # [26] DoIt(S); movl -4(%ebp),%eax call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING .Lj11: call fpc_popaddrstack leal -4(%ebp),%eax call fpc_ansistr_decr_ref popl %eax testl %eax,%eax je .Lj12 call fpc_reraise .Lj12: popl %ebx movl %ebp,%esp popl %ebp ret
尋找差異