File:  [gforth] / gforth / arch / mips / testdisasm.fs
Revision 1.6: download - view: text, annotated - select for diffs
Mon Dec 31 18:40:25 2007 UTC (14 years, 6 months ago) by anton
Branches: MAIN
CVS tags: HEAD
updated copyright notices for GPL v3

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

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