File:  [gforth] / gforth / arch / mips / testdisasm.fs
Revision 1.5: download - view: text, annotated - select for diffs
Sun Mar 9 15:17:00 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: $3FFF820 ,  \ 31 31 31 add,  
   20: $10020 ,    \ 0 0 1 add,     
   21: $200020 ,   \ 0 1 0 add,     
   22: $820 ,	    \ 1 0 0 add,     
   23: $210820 ,   \ 1 1 1 add,     
   24: $23FFFFFF , \ 31 31 -1 addi, 
   25: $20000001 , \ 0 0 1 addi,    
   26: $20200000 , \ 0 1 0 addi,    
   27: $20010000 , \ 1 0 0 addi,    
   28: $20210001 , \ 1 1 1 addi,    
   29: $27FFFFFF , \ 31 31 -1 addiu,
   30: $24000001 , \ 0 0 1 addiu,   
   31: $24200000 , \ 0 1 0 addiu,   
   32: $24010000 , \ 1 0 0 addiu,   
   33: $24210001 , \ 1 1 1 addiu,   
   34: $3FFF821 ,  \ 31 31 31 addu, 
   35: $10021 ,    \ 0 0 1 addu,    
   36: $200021 ,   \ 0 1 0 addu,    
   37: $821 ,	    \ 1 0 0 addu,    
   38: $210821 ,   \ 1 1 1 addu,    
   39: $3FFF824 ,  \ 31 31 31 and,  
   40: $10024 ,    \ 0 0 1 and,     
   41: $200024 ,   \ 0 1 0 and,     
   42: $824 ,	    \ 1 0 0 and,     
   43: $210824 ,   \ 1 1 1 and,     
   44: $33FFFFFF , \ 31 31 $FFFF and
   45: $30000001 , \ 0 0 $1 andi,   
   46: $30200000 , \ 0 1 $0 andi,   
   47: $30010000 , \ 1 0 $0 andi,   
   48: $30210001 , \ 1 1 $1 andi,   
   49: $4500FFFF , \ -1 bczf,       
   50: $45000001 , \ 1 bczf,        
   51: $4501FFFF , \ -1 bczt,       
   52: $45010001 , \ 1 bczt,        
   53: $13FFFFFF , \ 31 31 -1 beq,  
   54: $10000001 , \ 0 0 1 beq,     
   55: $10010000 , \ 0 1 0 beq,     
   56: $10200000 , \ 1 0 0 beq,     
   57: $10210001 , \ 1 1 1 beq,     
   58: $7E1FFFF ,  \ 31 -1 bgez,    
   59: $4010001 ,  \ 0 1 bgez,      
   60: $4210000 ,  \ 1 0 bgez,      
   61: $4210001 ,  \ 1 1 bgez,      
   62: $7F1FFFF ,  \ 31 -1 bgezal,  
   63: $4110001 ,  \ 0 1 bgezal,    
   64: $4310000 ,  \ 1 0 bgezal,    
   65: $4310001 ,  \ 1 1 bgezal,    
   66: $1FE0FFFF , \ 31 -1 bgtz,    
   67: $1C000001 , \ 0 1 bgtz,      
   68: $1C200000 , \ 1 0 bgtz,      
   69: $1C200001 , \ 1 1 bgtz,      
   70: $1BE0FFFF , \ 31 -1 blez,    
   71: $18000001 , \ 0 1 blez,      
   72: $18200000 , \ 1 0 blez,      
   73: $18200001 , \ 1 1 blez,      
   74: $7E0FFFF ,  \ 31 -1 bltz,    
   75: $4000001 ,  \ 0 1 bltz,      
   76: $4200000 ,  \ 1 0 bltz,      
   77: $4200001 ,  \ 1 1 bltz,      
   78: $7F0FFFF ,  \ 31 -1 bltzal,  
   79: $4100001 ,  \ 0 1 bltzal,    
   80: $4300000 ,  \ 1 0 bltzal,    
   81: $4300001 ,  \ 1 1 bltzal,    
   82: $17FFFFFF , \ 31 31 -1 bne,  
   83: $14000001 , \ 0 0 1 bne,     
   84: $14010000 , \ 0 1 0 bne,     
   85: $14200000 , \ 1 0 0 bne,     
   86: $14210001 , \ 1 1 1 bne,     
   87: $D ,	    \ break,         
   88: $445FF800 , \ 31 31 1 cfcz,  
   89: $44400800 , \ 0 1 1 cfcz,    
   90: $44410000 , \ 1 0 1 cfcz,    
   91: $44410800 , \ 1 1 1 cfcz,    
   92: $44DFF800 , \ 31 31 1 ctcz,  
   93: $44C00800 , \ 0 1 1 ctcz,    
   94: $44C10000 , \ 1 0 1 ctcz,    
   95: $44C10800 , \ 1 1 1 ctcz,    
   96: $3FF001A ,  \ 31 31 div,     
   97: $1001A ,    \ 0 1 div,       
   98: $20001A ,   \ 1 0 div,       
   99: $21001A ,   \ 1 1 div,       
  100: $3FF001B ,  \ 31 31 divu,    
  101: $1001B ,    \ 0 1 divu,      
  102: $20001B ,   \ 1 0 divu,      
  103: $21001B ,   \ 1 1 divu,      
  104: $BFFFFFF ,  \ $43FFFFFF j,   
  105: $8000001 ,  \ $40000001 j,   
  106: $FFFFFFF ,  \ $43FFFFFF jal, 
  107: $C000001 ,  \ $40000001 jal, 
  108: $3E0F809 ,  \ 31 31 jalr,    
  109: $200009 ,   \ 0 1 jalr,      
  110: $809 ,	    \ 1 0 jalr,      
  111: $200809 ,   \ 1 1 jalr,      
  112: $3E00008 ,  \ 31 jr,         
  113: $200008 ,   \ 1 jr,          
  114: $83FFFFFF , \ 31 -1 31 lb,   
  115: $80200000 , \ 0 0 1 lb,      
  116: $80000001 , \ 0 1 0 lb,      
  117: $80010000 , \ 1 0 0 lb,      
  118: $80210001 , \ 1 1 1 lb,      
  119: $93FFFFFF , \ 31 -1 31 lbu,  
  120: $90200000 , \ 0 0 1 lbu,     
  121: $90000001 , \ 0 1 0 lbu,     
  122: $90010000 , \ 1 0 0 lbu,     
  123: $90210001 , \ 1 1 1 lbu,     
  124: $87FFFFFF , \ 31 -1 31 lh,   
  125: $84200000 , \ 0 0 1 lh,      
  126: $84000001 , \ 0 1 0 lh,      
  127: $84010000 , \ 1 0 0 lh,      
  128: $84210001 , \ 1 1 1 lh,      
  129: $97FFFFFF , \ 31 -1 31 lhu,  
  130: $94200000 , \ 0 0 1 lhu,     
  131: $94000001 , \ 0 1 0 lhu,     
  132: $94010000 , \ 1 0 0 lhu,     
  133: $94210001 , \ 1 1 1 lhu,     
  134: $3C1FFFFF , \ 31 $FFFF lui,  
  135: $3C000001 , \ 0 $1 lui,      
  136: $3C010000 , \ 1 $0 lui,      
  137: $3C010001 , \ 1 $1 lui,      
  138: $8FFFFFFF , \ 31 -1 31 lw,   
  139: $8C200000 , \ 0 0 1 lw,      
  140: $8C000001 , \ 0 1 0 lw,      
  141: $8C010000 , \ 1 0 0 lw,      
  142: $8C210001 , \ 1 1 1 lw,      
  143: $C7FFFFFF , \ 31 -1 31 lwc1, 
  144: $C4200000 , \ 0 0 1 lwc1,    
  145: $C4000001 , \ 0 1 0 lwc1,    
  146: $C4010000 , \ 1 0 0 lwc1,    
  147: $C4210001 , \ 1 1 1 lwc1,    
  148: $8BFFFFFF , \ 31 -1 31 lwl,  
  149: $88200000 , \ 0 0 1 lwl,     
  150: $88000001 , \ 0 1 0 lwl,     
  151: $88010000 , \ 1 0 0 lwl,     
  152: $88210001 , \ 1 1 1 lwl,     
  153: $9BFFFFFF , \ 31 -1 31 lwr,  
  154: $98200000 , \ 0 0 1 lwr,     
  155: $98000001 , \ 0 1 0 lwr,     
  156: $98010000 , \ 1 0 0 lwr,     
  157: $98210001 , \ 1 1 1 lwr,     
  158: $441FF800 , \ 31 31 1 mfcz,  
  159: $44000800 , \ 0 1 1 mfcz,    
  160: $44010000 , \ 1 0 1 mfcz,    
  161: $44010800 , \ 1 1 1 mfcz,    
  162: $F810 ,	    \ 31 mfhi,       
  163: $810 ,	    \ 1 mfhi,        
  164: $F812 ,	    \ 31 mflo,       
  165: $812 ,	    \ 1 mflo,        
  166: $449FF800 , \ 31 31 1 mtcz,  
  167: $44800800 , \ 0 1 1 mtcz,    
  168: $44810000 , \ 1 0 1 mtcz,    
  169: $44810800 , \ 1 1 1 mtcz,    
  170: $3E00011 ,  \ 31 mthi,       
  171: $200011 ,   \ 1 mthi,        
  172: $3E00013 ,  \ 31 mtlo,       
  173: $200013 ,   \ 1 mtlo,        
  174: $3FF0018 ,  \ 31 31 mult,    
  175: $10018 ,    \ 0 1 mult,      
  176: $200018 ,   \ 1 0 mult,      
  177: $210018 ,   \ 1 1 mult,      
  178: $3FF0019 ,  \ 31 31 multu,   
  179: $10019 ,    \ 0 1 multu,     
  180: $200019 ,   \ 1 0 multu,     
  181: $210019 ,   \ 1 1 multu,     
  182: $3FFF827 ,  \ 31 31 31 nor,  
  183: $10027 ,    \ 0 0 1 nor,     
  184: $200027 ,   \ 0 1 0 nor,     
  185: $827 ,	    \ 1 0 0 nor,     
  186: $210827 ,   \ 1 1 1 nor,     
  187: $3FFF825 ,  \ 31 31 31 or,   
  188: $10025 ,    \ 0 0 1 or,      
  189: $200025 ,   \ 0 1 0 or,      
  190: $825 ,	    \ 1 0 0 or,      
  191: $210825 ,   \ 1 1 1 or,      
  192: $37FFFFFF , \ 31 31 $FFFF ori
  193: $34000001 , \ 0 0 $1 ori,    
  194: $34200000 , \ 0 1 $0 ori,    
  195: $34010000 , \ 1 0 $0 ori,    
  196: $34210001 , \ 1 1 $1 ori,    
  197: $A3FFFFFF , \ 31 -1 31 sb,   
  198: $A0200000 , \ 0 0 1 sb,      
  199: $A0000001 , \ 0 1 0 sb,      
  200: $A0010000 , \ 1 0 0 sb,      
  201: $A0210001 , \ 1 1 1 sb,      
  202: $A7FFFFFF , \ 31 -1 31 sh,   
  203: $A4200000 , \ 0 0 1 sh,      
  204: $A4000001 , \ 0 1 0 sh,      
  205: $A4010000 , \ 1 0 0 sh,      
  206: $A4210001 , \ 1 1 1 sh,      
  207: $3FFF82A ,  \ 31 31 31 slt,  
  208: $1002A ,    \ 0 0 1 slt,     
  209: $20002A ,   \ 0 1 0 slt,     
  210: $82A ,	    \ 1 0 0 slt,     
  211: $21082A ,   \ 1 1 1 slt,     
  212: $2BFFFFFF , \ 31 31 -1 slti, 
  213: $28000001 , \ 0 0 1 slti,    
  214: $28200000 , \ 0 1 0 slti,    
  215: $28010000 , \ 1 0 0 slti,    
  216: $28210001 , \ 1 1 1 slti,    
  217: $2FFFFFFF , \ 31 31 -1 sltiu,
  218: $2C000001 , \ 0 0 1 sltiu,   
  219: $2C200000 , \ 0 1 0 sltiu,   
  220: $2C010000 , \ 1 0 0 sltiu,   
  221: $2C210001 , \ 1 1 1 sltiu,   
  222: $3FFF82B ,  \ 31 31 31 sltu, 
  223: $1002B ,    \ 0 0 1 sltu,    
  224: $20002B ,   \ 0 1 0 sltu,    
  225: $82B ,	    \ 1 0 0 sltu,    
  226: $21082B ,   \ 1 1 1 sltu,    
  227: $3FFF822 ,  \ 31 31 31 sub,  
  228: $10022 ,    \ 0 0 1 sub,     
  229: $200022 ,   \ 0 1 0 sub,     
  230: $822 ,	    \ 1 0 0 sub,     
  231: $210822 ,   \ 1 1 1 sub,     
  232: $3FFF823 ,  \ 31 31 31 subu, 
  233: $10023 ,    \ 0 0 1 subu,    
  234: $200023 ,   \ 0 1 0 subu,    
  235: $823 ,	    \ 1 0 0 subu,    
  236: $210823 ,   \ 1 1 1 subu,    
  237: $AFFFFFFF , \ 31 -1 31 sw,   
  238: $AC200000 , \ 0 0 1 sw,      
  239: $AC000001 , \ 0 1 0 sw,      
  240: $AC010000 , \ 1 0 0 sw,      
  241: $AC210001 , \ 1 1 1 sw,      
  242: $E7FFFFFF , \ 31 -1 31 swc1, 
  243: $E4200000 , \ 0 0 1 swc1,    
  244: $E4000001 , \ 0 1 0 swc1,    
  245: $E4010000 , \ 1 0 0 swc1,    
  246: $E4210001 , \ 1 1 1 swc1,    
  247: $ABFFFFFF , \ 31 -1 31 swl,  
  248: $A8200000 , \ 0 0 1 swl,     
  249: $A8000001 , \ 0 1 0 swl,     
  250: $A8010000 , \ 1 0 0 swl,     
  251: $A8210001 , \ 1 1 1 swl,     
  252: $BBFFFFFF , \ 31 -1 31 swr,  
  253: $B8200000 , \ 0 0 1 swr,     
  254: $B8000001 , \ 0 1 0 swr,     
  255: $B8010000 , \ 1 0 0 swr,     
  256: $B8210001 , \ 1 1 1 swr,     
  257: $C ,	    \ syscall,       
  258: $42000008 , \ tlbl,          
  259: $42000001 , \ tlbr,          
  260: $42000002 , \ tlbwi,         
  261: $42000006 , \ tlbwr,         
  262: $3FFF826 ,  \ 31 31 31 xor,  
  263: $10026 ,    \ 0 0 1 xor,     
  264: $200026 ,   \ 0 1 0 xor,     
  265: $826 ,	    \ 1 0 0 xor,     
  266: $210826 ,   \ 1 1 1 xor,     
  267: $3BFFFFFF , \ 31 31 $FFFF xor
  268: $38000001 , \ 0 0 $1 xori,   
  269: $38200000 , \ 0 1 $0 xori,   
  270: $38010000 , \ 1 0 $0 xori,   
  271: $38210001 , \ 1 1 $1 xori,   
  272: $3E0F821 ,  \ 31 31 0 addu,  
  273: $200021 ,   \ 0 1 0 addu,    
  274: $821 ,	    \ 1 0 0 addu,    
  275: $200821 ,   \ 1 1 0 addu,    
  276: $7E10002 ,  \ 31 2 bgez,     
  277: $3E0F821 ,  \ 31 31 0 addu,  
  278: $1FF822 ,   \ 31 0 31 sub,   
  279: $4210002 ,  \ 1 2 bgez,      
  280: $200021 ,   \ 0 1 0 addu,    
  281: $10022 ,    \ 0 0 1 sub,     
  282: $4010002 ,  \ 0 2 bgez,      
  283: $821 ,	    \ 1 0 0 addu,    
  284: $822 ,	    \ 1 0 0 sub,     
  285: $4210002 ,  \ 1 2 bgez,      
  286: $200821 ,   \ 1 1 0 addu,    
  287: $10822 ,    \ 1 0 1 sub,     
  288: $1FF822 ,   \ 31 0 31 sub,   
  289: $10022 ,    \ 0 0 1 sub,     
  290: $822 ,	    \ 1 0 0 sub,     
  291: $10822 ,    \ 1 0 1 sub,     
  292: $1FF823 ,   \ 31 0 31 subu,  
  293: $10023 ,    \ 0 0 1 subu,    
  294: $823 ,	    \ 1 0 0 subu,    
  295: $10823 ,    \ 1 0 1 subu,    
  296: $3E0F827 ,  \ 31 31 0 nor,   
  297: $200027 ,   \ 0 1 0 nor,     
  298: $827 ,	    \ 1 0 0 nor,     
  299: $200827 ,   \ 1 1 0 nor,     
  300: $3FF082A ,  \ 1 31 31 slt,   
  301: $1420FFFF , \ 1 0 -1 bne,    
  302: $82A ,	    \ 1 0 0 slt,     
  303: $14200001 , \ 1 0 1 bne,     
  304: $1082A ,    \ 1 0 1 slt,     
  305: $14200000 , \ 1 0 0 bne,     
  306: $20082A ,   \ 1 1 0 slt,     
  307: $14200000 , \ 1 0 0 bne,     
  308: $21082A ,   \ 1 1 1 slt,     
  309: $14200001 , \ 1 0 1 bne,     
  310: $3FF082A ,  \ 1 31 31 slt,   
  311: $1020FFFF , \ 1 0 -1 beq,    
  312: $82A ,	    \ 1 0 0 slt,     
  313: $10200001 , \ 1 0 1 beq,     
  314: $20082A ,   \ 1 1 0 slt,     
  315: $10200000 , \ 1 0 0 beq,     
  316: $1082A ,    \ 1 0 1 slt,     
  317: $10200000 , \ 1 0 0 beq,     
  318: $21082A ,   \ 1 1 1 slt,     
  319: $10200001 , \ 1 0 1 beq,     
  320: $3FF082A ,  \ 1 31 31 slt,   
  321: $1420FFFF , \ 1 0 -1 bne,    
  322: $82A ,	    \ 1 0 0 slt,     
  323: $14200001 , \ 1 0 1 bne,     
  324: $20082A ,   \ 1 1 0 slt,     
  325: $14200000 , \ 1 0 0 bne,     
  326: $1082A ,    \ 1 0 1 slt,     
  327: $14200000 , \ 1 0 0 bne,     
  328: $21082A ,   \ 1 1 1 slt,     
  329: $14200001 , \ 1 0 1 bne,     
  330: $3FF082B ,  \ 1 31 31 sltu,  
  331: $1020FFFF , \ 1 0 -1 beq,    
  332: $82B ,	    \ 1 0 0 sltu,    
  333: $10200001 , \ 1 0 1 beq,     
  334: $1082B ,    \ 1 0 1 sltu,    
  335: $10200000 , \ 1 0 0 beq,     
  336: $20082B ,   \ 1 1 0 sltu,    
  337: $10200000 , \ 1 0 0 beq,     
  338: $21082B ,   \ 1 1 1 sltu,    
  339: $10200001 , \ 1 0 1 beq,     
  340: $3FF082B ,  \ 1 31 31 sltu,  
  341: $1420FFFF , \ 1 0 -1 bne,    
  342: $82B ,	    \ 1 0 0 sltu,    
  343: $14200001 , \ 1 0 1 bne,     
  344: $1082B ,    \ 1 0 1 sltu,    
  345: $14200000 , \ 1 0 0 bne,     
  346: $20082B ,   \ 1 1 0 sltu,    
  347: $14200000 , \ 1 0 0 bne,     
  348: $21082B ,   \ 1 1 1 sltu,    
  349: $14200001 , \ 1 0 1 bne,     
  350: $3FF082B ,  \ 1 31 31 sltu,  
  351: $1020FFFF , \ 1 0 -1 beq,    
  352: $82B ,	    \ 1 0 0 sltu,    
  353: $10200001 , \ 1 0 1 beq,     
  354: $20082B ,   \ 1 1 0 sltu,    
  355: $10200000 , \ 1 0 0 beq,     
  356: $1082B ,    \ 1 0 1 sltu,    
  357: $10200000 , \ 1 0 0 beq,     
  358: $21082B ,   \ 1 1 1 sltu,    
  359: $10200001 , \ 1 0 1 beq,     
  360: $3FF082B ,  \ 1 31 31 sltu,  
  361: $1420FFFF , \ 1 0 -1 bne,    
  362: $82B ,	    \ 1 0 0 sltu,    
  363: $14200001 , \ 1 0 1 bne,     
  364: $20082B ,   \ 1 1 0 sltu,    
  365: $14200000 , \ 1 0 0 bne,     
  366: $1082B ,    \ 1 0 1 sltu,    
  367: $14200000 , \ 1 0 0 bne,     
  368: $21082B ,   \ 1 1 1 sltu,    
  369: $14200001 , \ 1 0 1 bne,     
  370: $3FF082B ,  \ 1 31 31 sltu,  
  371: $1020FFFF , \ 1 0 -1 beq,    
  372: $82B ,	    \ 1 0 0 sltu,    
  373: $10200001 , \ 1 0 1 beq,     
  374: $1082B ,    \ 1 0 1 sltu,    
  375: $10200000 , \ 1 0 0 beq,     
  376: $20082B ,   \ 1 1 0 sltu,    
  377: $10200000 , \ 1 0 0 beq,     
  378: $21082B ,   \ 1 1 1 sltu,    
  379: $10200001 , \ 1 0 1 beq,     
  380: 

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