home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / compiler / sozobon / scsrc20 / top / opcodes.c < prev    next >
Text File  |  1991-02-22  |  2KB  |  128 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.  * Mnemonics for the instructions.
  14.  */
  15.  
  16. char    *opnames[] = {
  17.     "or",
  18.     "btst",
  19.     "movep",
  20.     "bchg",
  21.     "bclr",
  22.     "bset",
  23.     "and",
  24.     "sub",
  25.     "add",
  26.     "eor",
  27.     "cmp",
  28.     "move",
  29.     "negx",
  30.     "chk",
  31.     "lea",
  32.     "clr",
  33.     "neg",
  34.     "not",
  35.     "nbcd",
  36.     "swap",
  37.     "pea",
  38.     "ext",
  39.     "movem",
  40.     "tst",
  41.     "tas",
  42.     "trap",
  43.     "link",
  44.     "unlk",
  45.     "reset",
  46.     "nop",
  47.     "stop",
  48.     "rte",
  49.     "rts",
  50.     "trapv",
  51.     "rtr",
  52.     "jsr",
  53.     "jmp",
  54.     "addq",
  55.     "st",
  56.     "dbt",
  57.     "subq",
  58.     "sf",
  59.     "dbra",        /* also dbf */
  60.     "shi",
  61.     "dbhi",
  62.     "sls",
  63.     "dbls",
  64.     "scc",
  65.     "dbcc",
  66.     "scs",
  67.     "dbcs",
  68.     "sne",
  69.     "dbne",
  70.     "seq",
  71.     "dbeq",
  72.     "svc",
  73.     "dvc",
  74.     "svs",
  75.     "dvs",
  76.     "spl",
  77.     "smi",
  78.     "dbmi",
  79.     "sge",
  80.     "dbge",
  81.     "slt",
  82.     "dblt",
  83.     "sgt",
  84.     "dbgt",
  85.     "sle",
  86.     "dble",
  87.     "bra",
  88.     "bsr",
  89.     "bhi",
  90.     "bls",
  91.     "bcc",
  92.     "bcs",
  93.     "bne",
  94.     "beq",
  95.     "bvc",
  96.     "bvs",
  97.     "bpl",
  98.     "bmi",
  99.     "bge",
  100.     "blt",
  101.     "bgt",
  102.     "ble",
  103.     "moveq",
  104.     "divu",
  105.     "sbcd",
  106.     "divs",
  107.     "subx",
  108.     "cmpm",
  109.     "mulu",
  110.     "abcd",
  111.     "exg",
  112.     "muls",
  113.     "addx",
  114.     "asr",
  115.     "lsr",
  116.     "roxr",
  117.     "ror",
  118.     "asl",
  119.     "lsl",
  120.     "roxl",
  121.     "rol",
  122. /*
  123.  * Pseudo-ops that show up in text sections
  124.  */
  125.     ".dc",
  126.     (char *) 0
  127. };
  128.