home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / zc.lzh / ZC / ZCSRC.LZH / top / opcodes.c < prev    next >
Encoding:
Text File  |  1989-05-25  |  1.6 KB  |  132 lines

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