home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / compiler / sozobon / scsrc20 / top / opcodes.h < prev    next >
Text File  |  1991-02-22  |  2KB  |  125 lines

  1. /* Copyright (c) 1988,1991 by Sozobon, Limited.  Author: Tony Andrews
  2.  *
  3.  * Permission is granted to anyone to use this software for any purpose
  4.  * on any computer system, and to redistribute it freely, with the
  5.  * following restrictions:
  6.  * 1) No charge may be made other than reasonable charges for reproduction.
  7.  * 2) Modified versions must be clearly marked as such.
  8.  * 3) The authors are not responsible for any harmful consequences
  9.  *    of using this software, even if they result from defects in it.
  10.  */
  11.  
  12. /*
  13.  * Defines for the instructions
  14.  */
  15.  
  16. #define    OR    0
  17. #define    BTST    1
  18. #define    MOVEP    2
  19. #define    BCHG    3
  20. #define    BCLR    4
  21. #define    BSET    5
  22. #define    AND    6
  23. #define    SUB    7
  24. #define    ADD    8
  25. #define    EOR    9
  26. #define    CMP    10
  27. #define    MOVE    11
  28. #define    NEGX    12
  29. #define    CHK    13
  30. #define    LEA    14
  31. #define    CLR    15
  32. #define    NEG    16
  33. #define    NOT    17
  34. #define    NBCD    18
  35. #define    SWAP    19
  36. #define    PEA    20
  37. #define    EXT    21
  38. #define    MOVEM    22
  39. #define    TST    23
  40. #define    TAS    24
  41. #define    TRAP    25
  42. #define    LINK    26
  43. #define    UNLK    27
  44. #define    RESET    28
  45. #define    NOP    29
  46. #define    STOP    30
  47. #define    RTE    31
  48. #define    RTS    32
  49. #define    TRAPV    33
  50. #define    RTR    34
  51. #define    JSR    35
  52. #define    JMP    36
  53. #define    ADDQ    37
  54. #define    ST    38
  55. #define    DBT    39
  56. #define    SUBQ    40
  57. #define    SF    41
  58. #define    DBRA    42    /* aka DBF */
  59. #define    SHI    43
  60. #define    DBHI    44
  61. #define    SLS    45
  62. #define    DBLS    46
  63. #define    SCC    47
  64. #define    DBCC    48
  65. #define    SCS    49
  66. #define    DBCS    50
  67. #define    SNE    51
  68. #define    DBNE    52
  69. #define    SEQ    53
  70. #define    DBEQ    54
  71. #define    SVC    55
  72. #define    DVC    56
  73. #define    SVS    57
  74. #define    DVS    58
  75. #define    SPL    59
  76. #define    SMI    60
  77. #define    DBMI    61
  78. #define    SGE    62
  79. #define    DBGE    63
  80. #define    SLT    64
  81. #define    DBLT    65
  82. #define    SGT    66
  83. #define    DBGT    67
  84. #define    SLE    68
  85. #define    DBLE    69
  86. #define    BRA    70
  87. #define    BSR    71
  88. #define    BHI    72
  89. #define    BLS    73
  90. #define    BCC    74
  91. #define    BCS    75
  92. #define    BNE    76
  93. #define    BEQ    77
  94. #define    BVC    78
  95. #define    BVS    79
  96. #define    BPL    80
  97. #define    BMI    81
  98. #define    BGE    82
  99. #define    BLT    83
  100. #define    BGT    84
  101. #define    BLE    85
  102. #define    MOVEQ    86
  103. #define    DIVU    87
  104. #define    SBCD    88
  105. #define    DIVS    89
  106. #define    SUBX    90
  107. #define    CMPM    91
  108. #define    MULU    92
  109. #define    ABCD    93
  110. #define    EXG    94
  111. #define    MULS    95
  112. #define    ADDX    96
  113. #define    ASR    97
  114. #define    LSR    98
  115. #define    ROXR    99
  116. #define    ROR    100
  117. #define    ASL    101
  118. #define    LSL    102
  119. #define    ROXL    103
  120. #define    ROL    104
  121. /*
  122.  * Pseudo-ops
  123.  */
  124. #define    DC    105
  125.