language

some fools attempt at an interpreted language
Log | Files | Refs | README

memonic.py (1249B)


      1 OP_NULL      = 0x00
      2 OP_SYNC      = 0x01
      3 OP_PRINT     = 0x02
      4 OP_DEBUG     = 0x03
      5 OP_ARGB      = 0x0E
      6 OP_LIBC      = 0x0F
      7 
      8 OP_POP       = 0x10
      9 OP_ROT       = 0x11
     10 OP_DUP       = 0x12
     11 OP_ROT_THREE = 0x13
     12 
     13 OP_DEC       = 0x20
     14 OP_LOV       = 0x21
     15 OP_STV       = 0x22
     16 OP_CTV       = 0x23
     17 OP_CTS       = 0x24
     18 
     19 OP_TYPEOF    = 0x30
     20 OP_CAST      = 0x31
     21 
     22 OP_ADD       = 0x40
     23 OP_SUB       = 0x41
     24 OP_MULT      = 0x42
     25 OP_DIV       = 0x43
     26 OP_POW       = 0x44
     27 OP_BRT       = 0x45
     28 OP_SIN       = 0x46
     29 OP_COS       = 0x47
     30 OP_TAN       = 0x48
     31 OP_ISIN      = 0x49
     32 OP_ICOS      = 0x4A
     33 OP_ITAN      = 0x4B
     34 OP_MOD       = 0x4C
     35 OP_BOR       = 0x4D
     36 OP_BXOR      = 0x4E
     37 OP_BNAND     = 0x4F
     38 
     39 OP_GTHAN     = 0x50
     40 OP_LTHAN     = 0x51
     41 OP_GTHAN_EQ  = 0x52
     42 OP_LTHAN_EQ  = 0x53
     43 OP_EQ        = 0x54
     44 OP_NEQ       = 0x55
     45 OP_NOT       = 0x56
     46 OP_OR        = 0x57
     47 OP_AND       = 0x58
     48 
     49 OP_STARTL    = 0x60
     50 OP_CLOOP     = 0x61
     51 OP_BREAK     = 0x6E
     52 OP_ENDL      = 0x6F
     53 
     54 OP_GOTO      = 0x70
     55 OP_JUMPF     = 0x71
     56 OP_IFDO      = 0x72
     57 OP_ELSE      = 0x73
     58 OP_DONE      = 0x7E
     59 OP_CALL      = 0x7F
     60 
     61 OP_GETN      = 0x80
     62 OP_SETN      = 0x81
     63 OP_CALLM     = 0x82
     64 OP_INDEXO    = 0x83
     65 OP_MODO      = 0x84
     66 
     67 OP_RETURN    = 0xF0
     68 OP_NEW       = 0xF1
     69 OP_ENDCLASS  = 0xF2
     70 OP_DECLASS   = 0xFE
     71 OP_DEFUN     = 0xFF