1// in progress
2
3Name(z160, 160)
4
5Method(m600,, Serialized)
6{
7	Name(ts, "m600")
8	Name(i000, 0xabcd0000)
9	Method(m000, 1)
10	{
11		Store(0x11223344, i000)
12		if (LNotEqual(arg0, 0xabcd0000)) {
13			err(ts, z160, 0x000, 0, 0, arg0, 0xabcd0000)
14		}
15	}
16
17	m000(i000)
18
19	if (LNotEqual(i000, 0x11223344)) {
20		err(ts, z160, 0x001, 0, 0, i000, 0x11223344)
21	}
22}
23
24/*
25do these
26
27	Method(m003)
28	{
29		Name(i000, 0x00000001)
30
31		Method(m001, 1)
32		{
33			Store(0x00000020, i000)
34			Return (arg0)
35		}
36		Store(Add(i000, m001(i000)), Local0)
37
38		if (LNotEqual(Local0, 0x00000002)) {
39			Store("Error 2", Debug)
40			Store(Local0, Debug)
41		} else {
42			Store("Ok 2", Debug)
43		}
44
45		if (LNotEqual(i000, 0x00000020)) {
46			Store("Error 3", Debug)
47		} else {
48			Store("Ok 3", Debug)
49		}
50	}
51*/
52
53Method(n006)
54{
55if (1) {
56	SRMT("m600")
57	m600()
58} else {
59	SRMT("m600")
60	m600()
61}
62}
63
64
65