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 whitespace changes
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Text styles
Change appearance
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
4 years ago
Diff never expires
Clear
Export
Share
Explain
24 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
72 lines
Copy
50 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
98 lines
Copy
; Assembly listing for method Program:CastToClassA(System.Object):ClassA
; Assembly listing for method Program:CastToClassA(System.Object):ClassA
G_M33135_IG01:
G_M33135_IG01:
sub rsp, 40
sub rsp, 40
G_M33135_IG02:
G_M33135_IG02:
Copy
Copied
Copy
Copied
mov gword ptr [rsp+30H], rcx
mov rax, rcx
mov rax, rcx
test rax, rax
test rax, rax
je SHORT G_M33135_IG05
je SHORT G_M33135_IG05
G_M33135_IG03:
G_M33135_IG03:
Copy
Copied
Copy
Copied
mov rdx, 0xD1FFAB1E ; Class
A
mov rdx, 0xD1FFAB1E ; Class
B
cmp qword ptr [rax], rdx
cmp qword ptr [rax], rdx
je SHORT G_M33135_IG05
je SHORT G_M33135_IG05
G_M33135_IG04:
G_M33135_IG04:
Copy
Copied
Copy
Copied
mov r
c
x, r
d
x
mov r
d
x, r
c
x
mov r
d
x,
gword ptr [rsp+30H]
mov r
c
x,
0xD1FFAB1E ; ClassA
call CORINFO_HELP_CHKCASTCLASS_SPECIAL
call CORINFO_HELP_CHKCASTCLASS_SPECIAL
G_M33135_IG05:
G_M33135_IG05:
nop
nop
G_M33135_IG06:
G_M33135_IG06:
add rsp, 40
add rsp, 40
ret
ret
Copy
Copied
Copy
Copied
; Total bytes of code 51, prolog size 4, PerfScore 10.
69
, instruction count
14
, allocated bytes for code 51 (MethodHash=c1b17e90) for method Program:CastToClassA(System.Object):ClassA
; Total bytes of code 51, prolog size 4, PerfScore 10.
85
, instruction count
13
, allocated bytes for code 51 (MethodHash=c1b17e90) for method Program:CastToClassA(System.Object):ClassA
; ============================================================
; ============================================================
; Assembly listing for method Program:IsClassA(System.Object):bool
; Assembly listing for method Program:IsClassA(System.Object):bool
G_M63146_IG01:
G_M63146_IG01:
sub rsp, 40
sub rsp, 40
G_M63146_IG02:
G_M63146_IG02:
Copy
Copied
Copy
Copied
mov rax, rcx
test rax, rax
je SHORT G_M63146_IG05
G_M63146_IG03:
mov rdx, 0xD1FFAB1E ; ClassB
cmp qword ptr [rax], rdx
je SHORT G_M63146_IG05
G_M63146_IG04:
mov rdx, rcx
mov rdx, rcx
mov rcx, 0xD1FFAB1E ; ClassA
mov rcx, 0xD1FFAB1E ; ClassA
call CORINFO_HELP_ISINSTANCEOFCLASS
call CORINFO_HELP_ISINSTANCEOFCLASS
Copy
Copied
Copy
Copied
G_M63146_IG05:
test rax, rax
test rax, rax
setne al
setne al
movzx rax, al
movzx rax, al
Copy
Copied
Copy
Copied
G_M63146_IG0
3
:
G_M63146_IG0
6
:
add rsp, 40
add rsp, 40
ret
ret
Copy
Copied
Copy
Copied
; Total bytes of code
36
, prolog size 4, PerfScore
8.10
, instruction count
9
, allocated bytes for code
36
(MethodHash=33310955) for method Program:IsClassA(System.Object):bool
; Total bytes of code
59
, prolog size 4, PerfScore
12.90
, instruction count
15
, allocated bytes for code
59
(MethodHash=33310955) for method Program:IsClassA(System.Object):bool
; ============================================================
; ============================================================
; Assembly listing for method Program:CastToIClass(System.Object):IClass
; Assembly listing for method Program:CastToIClass(System.Object):IClass
G_M64815_IG01:
G_M64815_IG01:
sub rsp, 40
sub rsp, 40
G_M64815_IG02:
G_M64815_IG02:
Copy
Copied
Copy
Copied
mov rax, rcx
test rax, rax
je SHORT G_M64815_IG05
G_M64815_IG03:
mov rdx, 0xD1FFAB1E ; ClassB
cmp qword ptr [rax], rdx
je SHORT G_M64815_IG05
G_M64815_IG04:
mov rdx, rcx
mov rdx, rcx
mov rcx, 0xD1FFAB1E ; IClass
mov rcx, 0xD1FFAB1E ; IClass
Copy
Copied
Copy
Copied
call CORINFO_HELP_
CHKCASTINTERFACE
call CORINFO_HELP_
CHKCASTCLASS_SPECIAL
G_M64815_IG05:
nop
nop
Copy
Copied
Copy
Copied
G_M64815_IG0
3
:
G_M64815_IG0
6
:
add rsp, 40
add rsp, 40
ret
ret
Copy
Copied
Copy
Copied
; Total bytes of code
28
, prolog size 4, PerfScore
6.05
, instruction count
7
, allocated bytes for code
28
(MethodHash=fb5802d0) for method Program:CastToIClass(System.Object):IClass
; Total bytes of code
51
, prolog size 4, PerfScore
10.85
, instruction count
13
, allocated bytes for code
51
(MethodHash=fb5802d0) for method Program:CastToIClass(System.Object):IClass
; ============================================================
; ============================================================
; Assembly listing for method Program:IsIClass(System.Object):bool
; Assembly listing for method Program:IsIClass(System.Object):bool
G_M30274_IG01:
G_M30274_IG01:
sub rsp, 40
sub rsp, 40
G_M30274_IG02:
G_M30274_IG02:
Copy
Copied
Copy
Copied
mov rax, rcx
test rax, rax
je SHORT G_M30274_IG05
G_M30274_IG03:
mov rdx, 0xD1FFAB1E ; ClassB
cmp qword ptr [rax], rdx
je SHORT G_M30274_IG05
G_M30274_IG04:
mov rdx, rcx
mov rdx, rcx
mov rcx, 0xD1FFAB1E ; IClass
mov rcx, 0xD1FFAB1E ; IClass
call CORINFO_HELP_ISINSTANCEOFINTERFACE
call CORINFO_HELP_ISINSTANCEOFINTERFACE
Copy
Copied
Copy
Copied
G_M30274_IG05:
test rax, rax
test rax, rax
setne al
setne al
movzx rax, al
movzx rax, al
Copy
Copied
Copy
Copied
G_M30274_IG0
3
:
G_M30274_IG0
6
:
add rsp, 40
add rsp, 40
ret
ret
Copy
Copied
Copy
Copied
; Total bytes of code
36
, prolog size 4, PerfScore
8.10
, instruction count
9
, allocated bytes for code
36
(MethodHash=196389bd) for method Program:IsIClass(System.Object):bool
; Total bytes of code
59
, prolog size 4, PerfScore
12.90
, instruction count
15
, allocated bytes for code
59
(MethodHash=196389bd) for method Program:IsIClass(System.Object):bool
; ============================================================
; ============================================================
Saved diffs
Original text
Open file
; Assembly listing for method Program:CastToClassA(System.Object):ClassA G_M33135_IG01: sub rsp, 40 G_M33135_IG02: mov gword ptr [rsp+30H], rcx mov rax, rcx test rax, rax je SHORT G_M33135_IG05 G_M33135_IG03: mov rdx, 0xD1FFAB1E ; ClassA cmp qword ptr [rax], rdx je SHORT G_M33135_IG05 G_M33135_IG04: mov rcx, rdx mov rdx, gword ptr [rsp+30H] call CORINFO_HELP_CHKCASTCLASS_SPECIAL G_M33135_IG05: nop G_M33135_IG06: add rsp, 40 ret ; Total bytes of code 51, prolog size 4, PerfScore 10.69, instruction count 14, allocated bytes for code 51 (MethodHash=c1b17e90) for method Program:CastToClassA(System.Object):ClassA ; ============================================================ ; Assembly listing for method Program:IsClassA(System.Object):bool G_M63146_IG01: sub rsp, 40 G_M63146_IG02: mov rdx, rcx mov rcx, 0xD1FFAB1E ; ClassA call CORINFO_HELP_ISINSTANCEOFCLASS test rax, rax setne al movzx rax, al G_M63146_IG03: add rsp, 40 ret ; Total bytes of code 36, prolog size 4, PerfScore 8.10, instruction count 9, allocated bytes for code 36 (MethodHash=33310955) for method Program:IsClassA(System.Object):bool ; ============================================================ ; Assembly listing for method Program:CastToIClass(System.Object):IClass G_M64815_IG01: sub rsp, 40 G_M64815_IG02: mov rdx, rcx mov rcx, 0xD1FFAB1E ; IClass call CORINFO_HELP_CHKCASTINTERFACE nop G_M64815_IG03: add rsp, 40 ret ; Total bytes of code 28, prolog size 4, PerfScore 6.05, instruction count 7, allocated bytes for code 28 (MethodHash=fb5802d0) for method Program:CastToIClass(System.Object):IClass ; ============================================================ ; Assembly listing for method Program:IsIClass(System.Object):bool G_M30274_IG01: sub rsp, 40 G_M30274_IG02: mov rdx, rcx mov rcx, 0xD1FFAB1E ; IClass call CORINFO_HELP_ISINSTANCEOFINTERFACE test rax, rax setne al movzx rax, al G_M30274_IG03: add rsp, 40 ret ; Total bytes of code 36, prolog size 4, PerfScore 8.10, instruction count 9, allocated bytes for code 36 (MethodHash=196389bd) for method Program:IsIClass(System.Object):bool ; ============================================================
Changed text
Open file
; Assembly listing for method Program:CastToClassA(System.Object):ClassA G_M33135_IG01: sub rsp, 40 G_M33135_IG02: mov rax, rcx test rax, rax je SHORT G_M33135_IG05 G_M33135_IG03: mov rdx, 0xD1FFAB1E ; ClassB cmp qword ptr [rax], rdx je SHORT G_M33135_IG05 G_M33135_IG04: mov rdx, rcx mov rcx, 0xD1FFAB1E ; ClassA call CORINFO_HELP_CHKCASTCLASS_SPECIAL G_M33135_IG05: nop G_M33135_IG06: add rsp, 40 ret ; Total bytes of code 51, prolog size 4, PerfScore 10.85, instruction count 13, allocated bytes for code 51 (MethodHash=c1b17e90) for method Program:CastToClassA(System.Object):ClassA ; ============================================================ ; Assembly listing for method Program:IsClassA(System.Object):bool G_M63146_IG01: sub rsp, 40 G_M63146_IG02: mov rax, rcx test rax, rax je SHORT G_M63146_IG05 G_M63146_IG03: mov rdx, 0xD1FFAB1E ; ClassB cmp qword ptr [rax], rdx je SHORT G_M63146_IG05 G_M63146_IG04: mov rdx, rcx mov rcx, 0xD1FFAB1E ; ClassA call CORINFO_HELP_ISINSTANCEOFCLASS G_M63146_IG05: test rax, rax setne al movzx rax, al G_M63146_IG06: add rsp, 40 ret ; Total bytes of code 59, prolog size 4, PerfScore 12.90, instruction count 15, allocated bytes for code 59 (MethodHash=33310955) for method Program:IsClassA(System.Object):bool ; ============================================================ ; Assembly listing for method Program:CastToIClass(System.Object):IClass G_M64815_IG01: sub rsp, 40 G_M64815_IG02: mov rax, rcx test rax, rax je SHORT G_M64815_IG05 G_M64815_IG03: mov rdx, 0xD1FFAB1E ; ClassB cmp qword ptr [rax], rdx je SHORT G_M64815_IG05 G_M64815_IG04: mov rdx, rcx mov rcx, 0xD1FFAB1E ; IClass call CORINFO_HELP_CHKCASTCLASS_SPECIAL G_M64815_IG05: nop G_M64815_IG06: add rsp, 40 ret ; Total bytes of code 51, prolog size 4, PerfScore 10.85, instruction count 13, allocated bytes for code 51 (MethodHash=fb5802d0) for method Program:CastToIClass(System.Object):IClass ; ============================================================ ; Assembly listing for method Program:IsIClass(System.Object):bool G_M30274_IG01: sub rsp, 40 G_M30274_IG02: mov rax, rcx test rax, rax je SHORT G_M30274_IG05 G_M30274_IG03: mov rdx, 0xD1FFAB1E ; ClassB cmp qword ptr [rax], rdx je SHORT G_M30274_IG05 G_M30274_IG04: mov rdx, rcx mov rcx, 0xD1FFAB1E ; IClass call CORINFO_HELP_ISINSTANCEOFINTERFACE G_M30274_IG05: test rax, rax setne al movzx rax, al G_M30274_IG06: add rsp, 40 ret ; Total bytes of code 59, prolog size 4, PerfScore 12.90, instruction count 15, allocated bytes for code 59 (MethodHash=196389bd) for method Program:IsIClass(System.Object):bool ; ============================================================
Find difference