/
beq.il
66 lines (59 loc) · 1.25 KB
/
beq.il
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly 'beq'{}
.namespace beq_
{
.class public auto ansi _beq {
.method public static int32 main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.locals (class [mscorlib]System.String)
.entrypoint
ldc.i4 0xFFAAFFAA
ldc.i4 0xFFAAFFAA
beq next0
br fail
next0:
ldc.i4 0xDDDD0000
ldc.i4 0x0000DDDD
beq fail
br next1
next1:
ldc.r4 float32(0x3F800000)
ldc.r4 float32(0x3F800000)
beq next2
br fail
next2:
ldc.r4 float32(0x3F800000)
ldc.r4 float32(0x7F800000)
beq fail
br next3
next3:
ldc.r4 float32(0x3F800000)
ldc.r4 float32(0x3F800000)
beq next4
br fail
next4:
ldc.r4 float32(0x3F800000)
ldc.r4 float32(0xBF800000)
beq fail
br next5
next5:
ldc.r4 float32(0xBF800000)
ldc.r4 float32(0x3F800000)
beq fail
br pass
pass:
ldc.i4 100
br end
fail:
ldc.i4 0x0
br end
end:
ret
}
}
}