File:  [gforth] / gforth / arch / mips / testasm.fs
Revision 1.6: download - view: text, annotated - select for diffs
Sun Mar 9 15:16:59 2003 UTC (17 years, 4 months ago) by anton
Branches: MAIN
CVS tags: v0-6-2, v0-6-1, v0-6-0, HEAD
updated copyright years

    1: \ Copyright (C) 2000,2003 Free Software Foundation, Inc.
    2: 
    3: \ This file is part of Gforth.
    4: 
    5: \ Gforth is free software; you can redistribute it and/or
    6: \ modify it under the terms of the GNU General Public License
    7: \ as published by the Free Software Foundation; either version 2
    8: \ of the License, or (at your option) any later version.
    9: 
   10: \ This program is distributed in the hope that it will be useful,
   11: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
   12: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13: \ GNU General Public License for more details.
   14: 
   15: \ You should have received a copy of the GNU General Public License
   16: \ along with this program; if not, write to the Free Software
   17: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   18: 
   19: 31 31 31 add,
   20: 0 0 1 add,
   21: 0 1 0 add,
   22: 1 0 0 add,
   23: 1 1 1 add,
   24: 31 31 -1 addi,
   25: 0 0 1 addi,
   26: 0 1 0 addi,
   27: 1 0 0 addi,
   28: 1 1 1 addi,
   29: 31 31 -1 addiu,
   30: 0 0 1 addiu,
   31: 0 1 0 addiu,
   32: 1 0 0 addiu,
   33: 1 1 1 addiu,
   34: 31 31 31 addu,
   35: 0 0 1 addu,
   36: 0 1 0 addu,
   37: 1 0 0 addu,
   38: 1 1 1 addu,
   39: 31 31 31 and,
   40: 0 0 1 and,
   41: 0 1 0 and,
   42: 1 0 0 and,
   43: 1 1 1 and,
   44: 31 31 $FFFF andi,
   45: 0 0 $1 andi,
   46: 0 1 $0 andi,
   47: 1 0 $0 andi,
   48: 1 1 $1 andi,
   49: -4 1 bczf,
   50: 4 1 bczf,
   51: -4 1 bczt,
   52: 4 1 bczt,
   53: 31 31 -4 beq,
   54: 0 0 4 beq,
   55: 0 1 0 beq,
   56: 1 0 0 beq,
   57: 1 1 4 beq,
   58: 31 -4 bgez,
   59: 0 4 bgez,
   60: 1 0 bgez,
   61: 1 4 bgez,
   62: 31 -4 bgezal,
   63: 0 4 bgezal,
   64: 1 0 bgezal,
   65: 1 4 bgezal,
   66: 31 -4 bgtz,
   67: 0 4 bgtz,
   68: 1 0 bgtz,
   69: 1 4 bgtz,
   70: 31 -4 blez,
   71: 0 4 blez,
   72: 1 0 blez,
   73: 1 4 blez,
   74: 31 -4 bltz,
   75: 0 4 bltz,
   76: 1 0 bltz,
   77: 1 4 bltz,
   78: 31 -4 bltzal,
   79: 0 4 bltzal,
   80: 1 0 bltzal,
   81: 1 4 bltzal,
   82: 31 31 -4 bne,
   83: 0 0 4 bne,
   84: 0 1 0 bne,
   85: 1 0 0 bne,
   86: 1 1 4 bne,
   87: break,
   88: 31 31 1 cfcz,
   89: 0 1 1 cfcz,
   90: 1 0 1 cfcz,
   91: 1 1 1 cfcz,
   92: 31 31 1 ctcz,
   93: 0 1 1 ctcz,
   94: 1 0 1 ctcz,
   95: 1 1 1 ctcz,
   96: 31 31 div,
   97: 0 1 div,
   98: 1 0 div,
   99: 1 1 div,
  100: 31 31 divu,
  101: 0 1 divu,
  102: 1 0 divu,
  103: 1 1 divu,
  104: $1FFFFFFC j,
  105: $10000004 j,
  106: $1FFFFFFC jal,
  107: $10000004 jal,
  108: 31 31 jalr,
  109: 0 1 jalr,
  110: 1 0 jalr,
  111: 1 1 jalr,
  112: 31 jr,
  113: 1 jr,
  114: 31 -1 31 lb,
  115: 0 0 1 lb,
  116: 0 1 0 lb,
  117: 1 0 0 lb,
  118: 1 1 1 lb,
  119: 31 -1 31 lbu,
  120: 0 0 1 lbu,
  121: 0 1 0 lbu,
  122: 1 0 0 lbu,
  123: 1 1 1 lbu,
  124: 31 -1 31 lh,
  125: 0 0 1 lh,
  126: 0 1 0 lh,
  127: 1 0 0 lh,
  128: 1 1 1 lh,
  129: 31 -1 31 lhu,
  130: 0 0 1 lhu,
  131: 0 1 0 lhu,
  132: 1 0 0 lhu,
  133: 1 1 1 lhu,
  134: 31 $FFFF lui,
  135: 0 $1 lui,
  136: 1 $0 lui,
  137: 1 $1 lui,
  138: 31 -1 31 lw,
  139: 0 0 1 lw,
  140: 0 1 0 lw,
  141: 1 0 0 lw,
  142: 1 1 1 lw,
  143: 31 -1 31 lwc1,
  144: 0 0 1 lwc1,
  145: 0 1 0 lwc1,
  146: 1 0 0 lwc1,
  147: 1 1 1 lwc1,
  148: 31 -1 31 lwl,
  149: 0 0 1 lwl,
  150: 0 1 0 lwl,
  151: 1 0 0 lwl,
  152: 1 1 1 lwl,
  153: 31 -1 31 lwr,
  154: 0 0 1 lwr,
  155: 0 1 0 lwr,
  156: 1 0 0 lwr,
  157: 1 1 1 lwr,
  158: 31 31 1 mfcz,
  159: 0 1 1 mfcz,
  160: 1 0 1 mfcz,
  161: 1 1 1 mfcz,
  162: 31 mfhi,
  163: 1 mfhi,
  164: 31 mflo,
  165: 1 mflo,
  166: 31 31 1 mtcz,
  167: 0 1 1 mtcz,
  168: 1 0 1 mtcz,
  169: 1 1 1 mtcz,
  170: 31 mthi,
  171: 1 mthi,
  172: 31 mtlo,
  173: 1 mtlo,
  174: 31 31 mult,
  175: 0 1 mult,
  176: 1 0 mult,
  177: 1 1 mult,
  178: 31 31 multu,
  179: 0 1 multu,
  180: 1 0 multu,
  181: 1 1 multu,
  182: 31 31 31 nor,
  183: 0 0 1 nor,
  184: 0 1 0 nor,
  185: 1 0 0 nor,
  186: 1 1 1 nor,
  187: 31 31 31 or,
  188: 0 0 1 or,
  189: 0 1 0 or,
  190: 1 0 0 or,
  191: 1 1 1 or,
  192: 31 31 $FFFF ori,
  193: 0 0 $1 ori,
  194: 0 1 $0 ori,
  195: 1 0 $0 ori,
  196: 1 1 $1 ori,
  197: 31 -1 31 sb,
  198: 0 0 1 sb,
  199: 0 1 0 sb,
  200: 1 0 0 sb,
  201: 1 1 1 sb,
  202: 31 -1 31 sh,
  203: 0 0 1 sh,
  204: 0 1 0 sh,
  205: 1 0 0 sh,
  206: 1 1 1 sh,
  207: 31 31 31 slt,
  208: 0 0 1 slt,
  209: 0 1 0 slt,
  210: 1 0 0 slt,
  211: 1 1 1 slt,
  212: 31 31 -1 slti,
  213: 0 0 1 slti,
  214: 0 1 0 slti,
  215: 1 0 0 slti,
  216: 1 1 1 slti,
  217: 31 31 -1 sltiu,
  218: 0 0 1 sltiu,
  219: 0 1 0 sltiu,
  220: 1 0 0 sltiu,
  221: 1 1 1 sltiu,
  222: 31 31 31 sltu,
  223: 0 0 1 sltu,
  224: 0 1 0 sltu,
  225: 1 0 0 sltu,
  226: 1 1 1 sltu,
  227: 31 31 31 sub,
  228: 0 0 1 sub,
  229: 0 1 0 sub,
  230: 1 0 0 sub,
  231: 1 1 1 sub,
  232: 31 31 31 subu,
  233: 0 0 1 subu,
  234: 0 1 0 subu,
  235: 1 0 0 subu,
  236: 1 1 1 subu,
  237: 31 -1 31 sw,
  238: 0 0 1 sw,
  239: 0 1 0 sw,
  240: 1 0 0 sw,
  241: 1 1 1 sw,
  242: 31 -1 31 swc1,
  243: 0 0 1 swc1,
  244: 0 1 0 swc1,
  245: 1 0 0 swc1,
  246: 1 1 1 swc1,
  247: 31 -1 31 swl,
  248: 0 0 1 swl,
  249: 0 1 0 swl,
  250: 1 0 0 swl,
  251: 1 1 1 swl,
  252: 31 -1 31 swr,
  253: 0 0 1 swr,
  254: 0 1 0 swr,
  255: 1 0 0 swr,
  256: 1 1 1 swr,
  257: syscall,
  258: tlbl,
  259: tlbr,
  260: tlbwi,
  261: tlbwr,
  262: 31 31 31 xor,
  263: 0 0 1 xor,
  264: 0 1 0 xor,
  265: 1 0 0 xor,
  266: 1 1 1 xor,
  267: 31 31 $FFFF xori,
  268: 0 0 $1 xori,
  269: 0 1 $0 xori,
  270: 1 0 $0 xori,
  271: 1 1 $1 xori,
  272: 31 31 0 addu,
  273: 0 1 0 addu,
  274: 1 0 0 addu,
  275: 1 1 0 addu,
  276: 31 8 bgez,
  277: 31 31 0 addu,
  278: 31 0 31 sub,
  279: 1 8 bgez,
  280: 0 1 0 addu,
  281: 0 0 1 sub,
  282: 0 8 bgez,
  283: 1 0 0 addu,
  284: 1 0 0 sub,
  285: 1 8 bgez,
  286: 1 1 0 addu,
  287: 1 0 1 sub,
  288: 31 0 31 sub,
  289: 0 0 1 sub,
  290: 1 0 0 sub,
  291: 1 0 1 sub,
  292: 31 0 31 subu,
  293: 0 0 1 subu,
  294: 1 0 0 subu,
  295: 1 0 1 subu,
  296: 31 31 0 nor,
  297: 0 1 0 nor,
  298: 1 0 0 nor,
  299: 1 1 0 nor,
  300: 1 31 31 slt,
  301: 1 0 -4 bne,
  302: 1 0 0 slt,
  303: 1 0 4 bne,
  304: 1 0 1 slt,
  305: 1 0 0 bne,
  306: 1 1 0 slt,
  307: 1 0 0 bne,
  308: 1 1 1 slt,
  309: 1 0 4 bne,
  310: 1 31 31 slt,
  311: 1 0 -4 beq,
  312: 1 0 0 slt,
  313: 1 0 4 beq,
  314: 1 1 0 slt,
  315: 1 0 0 beq,
  316: 1 0 1 slt,
  317: 1 0 0 beq,
  318: 1 1 1 slt,
  319: 1 0 4 beq,
  320: 1 31 31 slt,
  321: 1 0 -4 bne,
  322: 1 0 0 slt,
  323: 1 0 4 bne,
  324: 1 1 0 slt,
  325: 1 0 0 bne,
  326: 1 0 1 slt,
  327: 1 0 0 bne,
  328: 1 1 1 slt,
  329: 1 0 4 bne,
  330: 1 31 31 sltu,
  331: 1 0 -4 beq,
  332: 1 0 0 sltu,
  333: 1 0 4 beq,
  334: 1 0 1 sltu,
  335: 1 0 0 beq,
  336: 1 1 0 sltu,
  337: 1 0 0 beq,
  338: 1 1 1 sltu,
  339: 1 0 4 beq,
  340: 1 31 31 sltu,
  341: 1 0 -4 bne,
  342: 1 0 0 sltu,
  343: 1 0 4 bne,
  344: 1 0 1 sltu,
  345: 1 0 0 bne,
  346: 1 1 0 sltu,
  347: 1 0 0 bne,
  348: 1 1 1 sltu,
  349: 1 0 4 bne,
  350: 1 31 31 sltu,
  351: 1 0 -4 beq,
  352: 1 0 0 sltu,
  353: 1 0 4 beq,
  354: 1 1 0 sltu,
  355: 1 0 0 beq,
  356: 1 0 1 sltu,
  357: 1 0 0 beq,
  358: 1 1 1 sltu,
  359: 1 0 4 beq,
  360: 1 31 31 sltu,
  361: 1 0 -4 bne,
  362: 1 0 0 sltu,
  363: 1 0 4 bne,
  364: 1 1 0 sltu,
  365: 1 0 0 bne,
  366: 1 0 1 sltu,
  367: 1 0 0 bne,
  368: 1 1 1 sltu,
  369: 1 0 4 bne,
  370: 1 31 31 sltu,
  371: 1 0 -4 beq,
  372: 1 0 0 sltu,
  373: 1 0 4 beq,
  374: 1 0 1 sltu,
  375: 1 0 0 beq,
  376: 1 1 0 sltu,
  377: 1 0 0 beq,
  378: 1 1 1 sltu,
  379: 1 0 4 beq,

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>