demobyte.h 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. /* demobyte.h Copyright (C) Codemist 1999-2002 */
  2. /* Signature: 794d028c 21-Apr-2002 */
  3. /*
  4. * Bytecode interpreter support.
  5. *
  6. * Confidential file: do not distribute EVER
  7. */
  8. int32 demo_key1 = 32628715, demo_key2 = 50466735;
  9. #define OP_CLOSURE 0x00
  10. #define OP_JUMPEQUAL_L 0x01
  11. #define OP_QGETVN 0x02
  12. #define OP_JUMPNEQCAR 0x03
  13. #define OP_JUMPFREE4NIL 0x04
  14. #define OP_UNCATCH 0x05
  15. #define OP_JUMPL3ATOM 0x06
  16. #define OP_LOC1EXIT 0x07
  17. #define OP_JUMPNATOM_B 0x08
  18. #define OP_SWOP 0x09
  19. #define OP_JUMPFREE1NIL 0x0a
  20. #define OP_JUMPB2T 0x0b
  21. #define OP_STORELOC3 0x0c
  22. #define OP_CDRLOC4 0x0d
  23. #define OP_CARLOC9 0x0e
  24. #define OP_JUMP_B 0x0f
  25. #define OP_JUMPT_B 0x10
  26. #define OP_CAARLOC2 0x11
  27. #define OP_LOADLIT7 0x12
  28. #define OP_LOADLIT2 0x13
  29. #define OP_JUMP_BL 0x14
  30. #define OP_CALL2_4 0x15
  31. #define OP_LOADLIT3 0x16
  32. #define OP_JUMPEQUAL_B 0x17
  33. #define OP_VNIL 0x18
  34. #define OP_JUMPB1NIL 0x19
  35. #define OP_PUSH 0x1a
  36. #define OP_JUMPL2NIL 0x1b
  37. #define OP_JUMPNIL 0x1c
  38. #define OP_LOSE3 0x1d
  39. #define OP_CAARLOC1 0x1e
  40. #define OP_LOADFREE1 0x1f
  41. #define OP_BUILTIN3 0x20
  42. #define OP_LOC2LOC3 0x21
  43. #define OP_STORELOC0 0x22
  44. #define OP_DIFFERENCE 0x23
  45. #define OP_LOADLIT1 0x24
  46. #define OP_LOC3LOC2 0x25
  47. #define OP_JUMP_L 0x26
  48. #define OP_APPLY1 0x27
  49. #define OP_CDDR 0x28
  50. #define OP_CALL0_3 0x29
  51. #define OP_JUMPFREE2T 0x2a
  52. #define OP_JUMPEQ 0x2b
  53. #define OP_FLAGP 0x2c
  54. #define OP_STORELOC 0x2d
  55. #define OP_JUMPNEQUAL_BL 0x2e
  56. #define OP_JUMPST1T 0x2f
  57. #define OP_LOADFREE2 0x30
  58. #define OP_LOADLIT6 0x31
  59. #define OP_JUMPST0NIL 0x32
  60. #define OP_EQUAL 0x33
  61. #define OP_CALL1_1 0x34
  62. #define OP_JCALLN 0x35
  63. #define OP_LOADLIT 0x36
  64. #define OP_STORELOC5 0x37
  65. #define OP_CONS 0x38
  66. #define OP_JUMPLIT3NE 0x39
  67. #define OP_LOC0LOC1 0x3a
  68. #define OP_JUMPNE_B 0x3b
  69. #define OP_JUMPLIT2NE 0x3c
  70. #define OP_STOREFREE3 0x3d
  71. #define OP_JUMPL1NATOM 0x3e
  72. #define OP_CDRLOC3 0x3f
  73. #define OP_JUMPT_BL 0x40
  74. #define OP_CARLOC2 0x41
  75. #define OP_JUMPATOM 0x42
  76. #define OP_JUMPFREE2NIL 0x43
  77. #define OP_TIMES2 0x44
  78. #define OP_LOADLEX 0x45
  79. #define OP_LOADLIT4 0x46
  80. #define OP_JUMPNEQUAL_B 0x47
  81. #define OP_LOADLOC1 0x48
  82. #define OP_CARLOC1 0x49
  83. #define OP_JUMPL1T 0x4a
  84. #define OP_ADD1 0x4b
  85. #define OP_LOADFREE4 0x4c
  86. #define OP_JUMPNE_BL 0x4d
  87. #define OP_BIGCALL 0x4e
  88. #define OP_JUMPL0NATOM 0x4f
  89. #define OP_LIST3 0x50
  90. #define OP_CDAR 0x51
  91. #define OP_EQ 0x52
  92. #define OP_STORELOC7 0x53
  93. #define OP_JUMPNATOM_L 0x54
  94. #define OP_JUMPNATOM_BL 0x55
  95. #define OP_CALL2_1 0x56
  96. #define OP_JUMPLITNE 0x57
  97. #define OP_CAARLOC0 0x58
  98. #define OP_LIST2STAR 0x59
  99. #define OP_ICASE 0x5a
  100. #define OP_JUMPFREE1T 0x5b
  101. #define OP_SPARE1 0x5c
  102. #define OP_CARLOC3 0x5d
  103. #define OP_SUB1 0x5e
  104. #define OP_CARLOC6 0x5f
  105. #define OP_LOADLOC7 0x60
  106. #define OP_GET 0x61
  107. #define OP_CDRLOC0 0x62
  108. #define OP_NUMBERP 0x63
  109. #define OP_CADR 0x64
  110. #define OP_XCONS 0x65
  111. #define OP_JUMPFREET 0x66
  112. #define OP_CARLOC4 0x67
  113. #define OP_ACONS 0x68
  114. #define OP_LOADLOC4 0x69
  115. #define OP_CALL0 0x6a
  116. #define OP_JUMPT 0x6b
  117. #define OP_CALL0_0 0x6c
  118. #define OP_CARLOC0 0x6d
  119. #define OP_JUMPST0T 0x6e
  120. #define OP_BUILTIN0 0x6f
  121. #define OP_LOSE2 0x70
  122. #define OP_LOADLIT5 0x71
  123. #define OP_CAR 0x72
  124. #define OP_JUMPL3T 0x73
  125. #define OP_BUILTIN2R 0x74
  126. #define OP_JUMPNEQUAL_L 0x75
  127. #define OP_PVRESTORE 0x76
  128. #define OP_PROTECT 0x77
  129. #define OP_JUMPL1ATOM 0x78
  130. #define OP_LOADLOC6 0x79
  131. #define OP_JUMPNATOM 0x7a
  132. #define OP_PUSHNIL 0x7b
  133. #define OP_BUILTIN1 0x7c
  134. #define OP_JUMPNIL_B 0x7d
  135. #define OP_JUMPL4NIL 0x7e
  136. #define OP_CALL0_2 0x7f
  137. #define OP_CALL1_0 0x80
  138. #define OP_JUMPL4T 0x81
  139. #define OP_PLUS2 0x82
  140. #define OP_JUMPNIL_BL 0x83
  141. #define OP_SPARE2 0x84
  142. #define OP_FREERSTR 0x85
  143. #define OP_LOADFREE3 0x86
  144. #define OP_CALLN 0x87
  145. #define OP_LOC0EXIT 0x88
  146. #define OP_CALL1 0x89
  147. #define OP_LOADFREE 0x8a
  148. #define OP_CALL1_2 0x8b
  149. #define OP_CDRLOC2 0x8c
  150. #define OP_JUMPB2NIL 0x8d
  151. #define OP_FASTGET 0x8e
  152. #define OP_JUMPNIL_L 0x8f
  153. #define OP_CARLOC10 0x90
  154. #define OP_JUMPL2NATOM 0x91
  155. #define OP_LOC1LOC2 0x92
  156. #define OP_STORELOC1 0x93
  157. #define OP_LENGTH 0x94
  158. #define OP_EXIT 0x95
  159. #define OP_JUMPLIT3EQ 0x96
  160. #define OP_JUMPLIT4NE 0x97
  161. #define OP_BIGSTACK 0x98
  162. #define OP_CATCH_BL 0x99
  163. #define OP_JUMPST2T 0x9a
  164. #define OP_CALL3 0x9b
  165. #define OP_LOC2LOC1 0x9c
  166. #define OP_JUMPL0T 0x9d
  167. #define OP_CATCH_L 0x9e
  168. #define OP_PVBIND 0x9f
  169. #define OP_JUMPATOM_BL 0xa0
  170. #define OP_STORELOC6 0xa1
  171. #define OP_THROW 0xa2
  172. #define OP_CAARLOC3 0xa3
  173. #define OP_JUMPATOM_L 0xa4
  174. #define OP_LOC1LOC0 0xa5
  175. #define OP_GREATERP 0xa6
  176. #define OP_CARLOC11 0xa7
  177. #define OP_JUMPL3NATOM 0xa8
  178. #define OP_JUMPFREENIL 0xa9
  179. #define OP_APPLY4 0xaa
  180. #define OP_JUMPNFLAGP 0xab
  181. #define OP_PUSHNIL3 0xac
  182. #define OP_CARLOC7 0xad
  183. #define OP_JUMPLIT1EQ 0xae
  184. #define OP_JUMPL3NIL 0xaf
  185. #define OP_APPLY2 0xb0
  186. #define OP_LOADLOC8 0xb1
  187. #define OP_JUMPEQCAR 0xb2
  188. #define OP_NILEXIT 0xb3
  189. #define OP_CALL0_1 0xb4
  190. #define OP_CDR 0xb5
  191. #define OP_JUMPEQUAL 0xb6
  192. #define OP_JUMPEQ_BL 0xb7
  193. #define OP_JUMPL2T 0xb8
  194. #define OP_JUMPLIT1NE 0xb9
  195. #define OP_CALL2_0 0xba
  196. #define OP_LOADLOC 0xbb
  197. #define OP_STORELEX 0xbc
  198. #define OP_JUMPFREE4T 0xbd
  199. #define OP_JUMPL0NIL 0xbe
  200. #define OP_JUMPST2NIL 0xbf
  201. #define OP_STOREFREE 0xc0
  202. #define OP_STOREFREE2 0xc1
  203. #define OP_PUSHNILS 0xc2
  204. #define OP_JUMPST1NIL 0xc3
  205. #define OP_PUSHNIL2 0xc4
  206. #define OP_CALL1_3 0xc5
  207. #define OP_EQCAR 0xc6
  208. #define OP_BUILTIN2 0xc7
  209. #define OP_LOADLOC3 0xc8
  210. #define OP_JUMPT_L 0xc9
  211. #define OP_NCONS 0xca
  212. #define OP_CALL1_5 0xcb
  213. #define OP_LIST2 0xcc
  214. #define OP_JUMPFREE3NIL 0xcd
  215. #define OP_CALL2_3 0xce
  216. #define OP_CALL2_2 0xcf
  217. #define OP_JUMPNE_L 0xd0
  218. #define OP_CALL2R 0xd1
  219. #define OP_CARLOC5 0xd2
  220. #define OP_JUMPEQ_L 0xd3
  221. #define OP_CDRLOC5 0xd4
  222. #define OP_STOREFREE1 0xd5
  223. #define OP_JUMPATOM_B 0xd6
  224. #define OP_QGETV 0xd7
  225. #define OP_LOSE 0xd8
  226. #define OP_STORELOC2 0xd9
  227. #define OP_CATCH_B 0xda
  228. #define OP_POP 0xdb
  229. #define OP_JUMPL2ATOM 0xdc
  230. #define OP_LOC2EXIT 0xdd
  231. #define OP_JUMPLIT2EQ 0xde
  232. #define OP_STORELOC4 0xdf
  233. #define OP_CALL1_4 0xe0
  234. #define OP_LESSP 0xe1
  235. #define OP_JUMPEQUAL_BL 0xe2
  236. #define OP_LITGET 0xe3
  237. #define OP_GETV 0xe4
  238. #define OP_APPLY3 0xe5
  239. #define OP_JUMPB1T 0xe6
  240. #define OP_CARLOC8 0xe7
  241. #define OP_LOADLOC11 0xe8
  242. #define OP_JUMPFLAGP 0xe9
  243. #define OP_JUMPL0ATOM 0xea
  244. #define OP_CDRLOC1 0xeb
  245. #define OP_JUMP 0xec
  246. #define OP_JUMPNE 0xed
  247. #define OP_CALL2 0xee
  248. #define OP_FREEBIND 0xef
  249. #define OP_JUMPLIT4EQ 0xf0
  250. #define OP_LOADLOC2 0xf1
  251. #define OP_LOADLOC10 0xf2
  252. #define OP_LOADLOC0 0xf3
  253. #define OP_LOADLOC5 0xf4
  254. #define OP_LOSES 0xf5
  255. #define OP_CATCH 0xf6
  256. #define OP_JUMPFREE3T 0xf7
  257. #define OP_JUMPL1NIL 0xf8
  258. #define OP_CAAR 0xf9
  259. #define OP_UNPROTECT 0xfa
  260. #define OP_LOADLOC9 0xfb
  261. #define OP_JUMPLITEQ 0xfc
  262. #define OP_JCALL 0xfd
  263. #define OP_JUMPNEQUAL 0xfe
  264. #define OP_JUMPEQ_B 0xff
  265. /* end of demobyte.h */