Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
表示
レイアウト
分割
統合
ライブエディター
空白の変更を非表示
未変更行を折りたたむ
折り返しなし
比較精度
スマート
構文
なし
外観を変更
処理
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
BinarySearch_31_vs_50_asm
作成日
6 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
7 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
56 行
すべてコピー
6 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
55 行
すべてコピー
コピー
コピー済み
コピー
コピー済み
## .NET Core
3.1.6
(CoreCLR
4.700
.20.
26901
, CoreFX
4.700
.20.
31603
), X64 RyuJIT
## .NET Core
5.0.0
(CoreCLR
5.0
.20.
40416
, CoreFX
5.0
.20.
40416
), X64 RyuJIT
```assembly
```assembly
; System.Memory.Span`1[[System.Byte, System.Private.CoreLib]].BinarySearch()
; System.Memory.Span`1[[System.Byte, System.Private.CoreLib]].BinarySearch()
sub rsp,28
sub rsp,28
mov rdx,[rcx+18]
mov rdx,[rcx+18]
test rdx,rdx
test rdx,rdx
jne short M00_L00
jne short M00_L00
xor r8d,r8d
xor r8d,r8d
xor edx,edx
xor edx,edx
jmp short M00_L01
jmp short M00_L01
M00_L00:
M00_L00:
lea r8,[rdx+10]
lea r8,[rdx+10]
mov edx,[rdx+8]
mov edx,[rdx+8]
M00_L01:
M00_L01:
movzx eax,byte ptr [rcx+2C]
movzx eax,byte ptr [rcx+2C]
mov rcx,r8
mov rcx,r8
mov r8d,eax
mov r8d,eax
call System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte)
call System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte)
nop
nop
add rsp,28
add rsp,28
ret
ret
; Total bytes of code 48
; Total bytes of code 48
```
```
```assembly
```assembly
; System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte)
; System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte)
mov [rsp+18],r8d
mov [rsp+18],r8d
xor eax,eax
xor eax,eax
dec edx
dec edx
test edx,edx
test edx,edx
jl short M01_L03
jl short M01_L03
M01_L00:
M01_L00:
lea r8d,[rdx+rax]
lea r8d,[rdx+rax]
shr r8d,1
shr r8d,1
movsxd r9,r8d
movsxd r9,r8d
movzx r9d,byte ptr [rcx+r9]
movzx r9d,byte ptr [rcx+r9]
movzx r10d,byte ptr [rsp+18]
movzx r10d,byte ptr [rsp+18]
sub r10d,r9d
sub r10d,r9d
コピー
コピー済み
コピー
コピー済み
test r10d,r10d
je short M01_L04
je short M01_L04
test r10d,r10d
test r10d,r10d
jle short M01_L01
jle short M01_L01
lea eax,[r8+1]
lea eax,[r8+1]
jmp short M01_L02
jmp short M01_L02
M01_L01:
M01_L01:
lea edx,[r8+0FFFF]
lea edx,[r8+0FFFF]
M01_L02:
M01_L02:
cmp eax,edx
cmp eax,edx
jle short M01_L00
jle short M01_L00
M01_L03:
M01_L03:
not eax
not eax
ret
ret
M01_L04:
M01_L04:
mov eax,r8d
mov eax,r8d
ret
ret
コピー
コピー済み
コピー
コピー済み
; Total bytes of code
68
; Total bytes of code
65
```
```
保存された差分
原文
ファイルを開く
## .NET Core 3.1.6 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.31603), X64 RyuJIT ```assembly ; System.Memory.Span`1[[System.Byte, System.Private.CoreLib]].BinarySearch() sub rsp,28 mov rdx,[rcx+18] test rdx,rdx jne short M00_L00 xor r8d,r8d xor edx,edx jmp short M00_L01 M00_L00: lea r8,[rdx+10] mov edx,[rdx+8] M00_L01: movzx eax,byte ptr [rcx+2C] mov rcx,r8 mov r8d,eax call System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte) nop add rsp,28 ret ; Total bytes of code 48 ``` ```assembly ; System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte) mov [rsp+18],r8d xor eax,eax dec edx test edx,edx jl short M01_L03 M01_L00: lea r8d,[rdx+rax] shr r8d,1 movsxd r9,r8d movzx r9d,byte ptr [rcx+r9] movzx r10d,byte ptr [rsp+18] sub r10d,r9d test r10d,r10d je short M01_L04 test r10d,r10d jle short M01_L01 lea eax,[r8+1] jmp short M01_L02 M01_L01: lea edx,[r8+0FFFF] M01_L02: cmp eax,edx jle short M01_L00 M01_L03: not eax ret M01_L04: mov eax,r8d ret ; Total bytes of code 68 ```
変更されたテキスト
ファイルを開く
## .NET Core 5.0.0 (CoreCLR 5.0.20.40416, CoreFX 5.0.20.40416), X64 RyuJIT ```assembly ; System.Memory.Span`1[[System.Byte, System.Private.CoreLib]].BinarySearch() sub rsp,28 mov rdx,[rcx+18] test rdx,rdx jne short M00_L00 xor r8d,r8d xor edx,edx jmp short M00_L01 M00_L00: lea r8,[rdx+10] mov edx,[rdx+8] M00_L01: movzx eax,byte ptr [rcx+2C] mov rcx,r8 mov r8d,eax call System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte) nop add rsp,28 ret ; Total bytes of code 48 ``` ```assembly ; System.SpanHelpers.BinarySearch[[System.Byte, System.Private.CoreLib],[System.Byte, System.Private.CoreLib]](Byte ByRef, Int32, Byte) mov [rsp+18],r8d xor eax,eax dec edx test edx,edx jl short M01_L03 M01_L00: lea r8d,[rdx+rax] shr r8d,1 movsxd r9,r8d movzx r9d,byte ptr [rcx+r9] movzx r10d,byte ptr [rsp+18] sub r10d,r9d je short M01_L04 test r10d,r10d jle short M01_L01 lea eax,[r8+1] jmp short M01_L02 M01_L01: lea edx,[r8+0FFFF] M01_L02: cmp eax,edx jle short M01_L00 M01_L03: not eax ret M01_L04: mov eax,r8d ret ; Total bytes of code 65 ```
違いを見つける