home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / ipl / incl / opdefs.icn < prev   
Text File  |  2000-07-29  |  3KB  |  120 lines

  1. ############################################################################
  2. #
  3. #    File:     opdefs.icn
  4. #
  5. #    Subject:  Definitions for Icon virtual-machine instructions
  6. #
  7. #    Author:   Ralph E. Griswold
  8. #
  9. #    Date:     June 8, 1994
  10. #
  11. ############################################################################
  12. #
  13. #   This file is in the public domain.
  14. #
  15. ############################################################################
  16. #
  17. #  This file provides definitions for the codes for the Icon virtual
  18. #  machine.
  19. #
  20. ############################################################################
  21.  
  22. $define Op_Asgn        "\x1"
  23. $define Op_Bang        "\x2"
  24. $define Op_Cat        "\x3"
  25. $define Op_Compl    "\x4"
  26. $define Op_Diff        "\x5"
  27. $define Op_Div        "\x6"
  28. $define Op_Eqv        "\x7"
  29. $define Op_Inter    "\x8"
  30. $define Op_Lconcat    "\x9"
  31. $define Op_Lexeq    "\xa"
  32. $define Op_Lexge    "\xb"
  33. $define Op_Lexgt    "\xc"
  34. $define Op_Lexle    "\xd"
  35. $define Op_Lexlt    "\xe"
  36. $define Op_Lexne    "\xf"
  37. $define Op_Minus    "\x10"
  38. $define Op_Mod        "\x11"
  39. $define Op_Mult        "\x12"
  40. $define Op_Neg        "\x13"
  41. $define Op_Neqv        "\x14"
  42. $define Op_Nonnull    "\x15"
  43. $define Op_Null        "\x16"
  44. $define Op_Number    "\x17"
  45. $define Op_Numeq    "\x18"
  46. $define Op_Numge    "\x19"
  47. $define Op_Numgt    "\x1a"
  48. $define Op_Numle    "\x1b"
  49. $define Op_Numlt    "\x1c"
  50. $define Op_Numne    "\x1d"
  51. $define Op_Plus        "\x1e"
  52. $define Op_Power    "\x1f"
  53. $define Op_Random    "\x20"
  54. $define Op_Rasgn    "\x21"
  55. $define Op_Refresh    "\x22"
  56. $define Op_Rswap    "\x23"
  57. $define Op_Sect        "\x24"
  58. $define Op_Size        "\x25"
  59. $define Op_Subsc    "\x26"
  60. $define Op_Swap        "\x27"
  61. $define Op_Tabmat    "\x28"
  62. $define Op_Toby        "\x29"
  63. $define Op_Unions    "\x2a"
  64. $define Op_Value    "\x2b"
  65. $define Op_Bscan    "\x2c"
  66. $define Op_Ccase    "\x2d"
  67. $define Op_Chfail    "\x2e"
  68. $define Op_Coact    "\x2f"
  69. $define Op_Cofail    "\x30"
  70. $define Op_Coret    "\x31"
  71. $define Op_Create    "\x32"
  72. $define Op_Cset        "\x33"
  73. $define Op_Dup        "\x34"
  74. $define Op_Efail    "\x35"
  75. $define Op_Eret        "\x36"
  76. $define Op_Escan    "\x37"
  77. $define Op_Esusp    "\x38"
  78. $define Op_Field    "\x39"
  79. $define Op_Goto        "\x3a"
  80. $define Op_Init        "\x3b"
  81. $define Op_Int        "\x3c"
  82. $define Op_Invoke    "\x3d"
  83. $define Op_Keywd    "\x3e"
  84. $define Op_Limit    "\x3f"
  85. $define Op_Line        "\x40"
  86. $define Op_Llist    "\x41"
  87. $define Op_Lsusp    "\x42"
  88. $define Op_Mark        "\x43"
  89. $define Op_Pfail    "\x44"
  90. $define Op_Pnull    "\x45"
  91. $define Op_Pop        "\x46"
  92. $define Op_Pret        "\x47"
  93. $define Op_Psusp    "\x48"
  94. $define Op_Push1    "\x49"
  95. $define Op_Pushn1    "\x4a"
  96. $define Op_Real        "\x4b"
  97. $define Op_Sdup        "\x4c"
  98. $define Op_Str        "\x4d"
  99. $define Op_Unmark    "\x4e"
  100. $define Op_Var        "\x50"
  101. $define Op_Arg        "\x51"
  102. $define Op_Static    "\x52"
  103. $define Op_Local    "\x53"
  104. $define Op_Global    "\x54"
  105. $define Op_Mark0    "\x55"
  106. $define Op_Quit        "\x56"
  107. $define Op_FQuit    "\x57"
  108. $define Op_Tally    "\x58"
  109. $define Op_Apply    "\x59"
  110. $define Op_Acset    "\x5a"
  111. $define Op_Areal    "\x5b"
  112. $define Op_Astr        "\x5c"
  113. $define Op_Aglobal    "\x5d"
  114. $define Op_Astatic    "\x5e"
  115. $define Op_Agoto    "\x5f"
  116. $define Op_Amark    "\x60"
  117. $define Op_Noop        "\x62"
  118. $define Op_SymEvents    "\x64"
  119. $define Op_Colm        "\x6c"
  120.