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
|
// in progress
Name(z160, 160)
Method(m600)
{
Name(ts, "m600")
Name(i000, 0xabcd0000)
Method(m000, 1)
{
Store(0x11223344, i000)
if (LNotEqual(arg0, 0xabcd0000)) {
err(ts, z160, 0x000, 0, 0, arg0, 0xabcd0000)
}
}
m000(i000)
if (LNotEqual(i000, 0x11223344)) {
err(ts, z160, 0x001, 0, 0, i000, 0x11223344)
}
}
/*
do these
Method(m003)
{
Name(i000, 0x00000001)
Method(m001, 1)
{
Store(0x00000020, i000)
Return (arg0)
}
Store(Add(i000, m001(i000)), Local0)
if (LNotEqual(Local0, 0x00000002)) {
Store("Error 2", Debug)
Store(Local0, Debug)
} else {
Store("Ok 2", Debug)
}
if (LNotEqual(i000, 0x00000020)) {
Store("Error 3", Debug)
} else {
Store("Ok 3", Debug)
}
}
*/
Method(n006)
{
if (1) {
SRMT("m600")
m600()
} else {
SRMT("m600")
m600()
}
}
|