OpCodes.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSim Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine.JVM
  28. {
  29. public enum OpCode : byte
  30. {
  31. iconst_m1 = 2,
  32. iconst_0 = 3,
  33. iconst_1 = 4,
  34. iconst_2 = 5,
  35. iconst_3 = 6,
  36. iconst_4 = 7,
  37. iconst_5 = 8,
  38. fconst_0 = 11,
  39. fconst_1 = 12,
  40. fconst_2 = 13,
  41. bipush = 16,
  42. sipush = 17,
  43. fload = 23,
  44. iload_0 = 26,
  45. iload_1 = 27,
  46. fload_0 = 34,
  47. fload_1 = 35,
  48. fload_2 = 36,
  49. fload_3 = 37,
  50. istore = 54,
  51. fstore = 56,
  52. istore_0 = 59,
  53. istore_1 = 60,
  54. istore_2 = 61,
  55. istore_3 = 62,
  56. fstore_0 = 67,
  57. fstore_1 = 68,
  58. fstore_2 = 69,
  59. fstore_3 = 70,
  60. pop = 87,
  61. fadd = 98,
  62. fsub = 102,
  63. imul = 104,
  64. iinc = 132,
  65. f2i = 139,
  66. fcmpl = 149,
  67. fcmpg = 150,
  68. ifge = 156,
  69. ifgt = 157,
  70. ifle = 158,
  71. if_icmpge = 162,
  72. if_icmpgt = 163,
  73. if_icmple = 164,
  74. _goto = 167,
  75. getstatic = 178,
  76. putstatic = 179
  77. }
  78. }