diff options
Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JVM/OpCodes.cs')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JVM/OpCodes.cs | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JVM/OpCodes.cs b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JVM/OpCodes.cs new file mode 100644 index 0000000..c6ac987 --- /dev/null +++ b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JVM/OpCodes.cs | |||
@@ -0,0 +1,56 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine.JVM | ||
6 | { | ||
7 | public enum OpCode : byte | ||
8 | { | ||
9 | iconst_m1 = 2, | ||
10 | iconst_0 = 3, | ||
11 | iconst_1 = 4, | ||
12 | iconst_2 = 5, | ||
13 | iconst_3 = 6, | ||
14 | iconst_4 = 7, | ||
15 | iconst_5 = 8, | ||
16 | fconst_0 = 11, | ||
17 | fconst_1 = 12, | ||
18 | fconst_2 = 13, | ||
19 | bipush = 16, | ||
20 | sipush = 17, | ||
21 | fload = 23, | ||
22 | iload_0 = 26, | ||
23 | iload_1 = 27, | ||
24 | fload_0 = 34, | ||
25 | fload_1 = 35, | ||
26 | fload_2 = 36, | ||
27 | fload_3 = 37, | ||
28 | istore = 54, | ||
29 | fstore = 56, | ||
30 | istore_0 = 59, | ||
31 | istore_1 = 60, | ||
32 | istore_2 = 61, | ||
33 | istore_3 = 62, | ||
34 | fstore_0 = 67, | ||
35 | fstore_1 = 68, | ||
36 | fstore_2 = 69, | ||
37 | fstore_3 = 70, | ||
38 | pop = 87, | ||
39 | fadd = 98, | ||
40 | fsub = 102, | ||
41 | imul = 104, | ||
42 | iinc = 132, | ||
43 | f2i = 139, | ||
44 | fcmpl = 149, | ||
45 | fcmpg = 150, | ||
46 | ifge = 156, | ||
47 | ifgt = 157, | ||
48 | ifle = 158, | ||
49 | if_icmpge = 162, | ||
50 | if_icmpgt = 163, | ||
51 | if_icmple = 164, | ||
52 | _goto = 167, | ||
53 | getstatic = 178, | ||
54 | putstatic = 179 | ||
55 | } | ||
56 | } | ||