home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / asm / adisv1_3.lha / src / mmu_opcodes.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-14  |  2.7 KB  |  63 lines

  1. /*
  2.  * Change history
  3.  * $Log:    mmu_opcodes.c,v $
  4.  * Revision 3.0  93/09/24  17:54:10  Martin_Apel
  5.  * New feature: Added extra 68040 FPU opcodes
  6.  * 
  7.  * Revision 2.2  93/07/18  22:56:14  Martin_Apel
  8.  * *** empty log message ***
  9.  * 
  10.  * Revision 2.1  93/07/08  20:47:50  Martin_Apel
  11.  * Bug fix: Replaced illegal with pmove30
  12.  * 
  13.  * Revision 2.0  93/07/01  11:54:18  Martin_Apel
  14.  * *** empty log message ***
  15.  * 
  16.  * Revision 1.1  93/06/19  12:11:42  Martin_Apel
  17.  * Initial revision
  18.  * 
  19.  */
  20.  
  21. #include <exec/types.h>
  22. #include <stdio.h>
  23. #include "defs.h"
  24.  
  25. static char rcsid [] = "$Id: mmu_opcodes.c,v 3.0 93/09/24 17:54:10 Martin_Apel Exp $";
  26.  
  27. /* Table for the bits 14 to 10 of the second word of mmu opcodes */
  28.  
  29. struct opcode_entry mmu_opcode_table [] =
  30. {
  31. { illegal  , 0        ,       0, 0,   0 },        /* 0 0000 */
  32. { illegal  , 0        ,       0, 0,   0 },        /* 0 0001 */ 
  33. { pmove30  , "PMOVE"  ,     TT0, 0,   0 },        /* 0 0010 */ 
  34. { pmove30  , "PMOVE"  ,     TT1, 0,   0 },        /* 0 0011 */ 
  35. { illegal  , 0        ,       0, 0,   0 },        /* 0 0100 */ 
  36. { illegal  , 0        ,       0, 0,   0 },        /* 0 0101 */ 
  37. { illegal  , 0        ,       0, 0,   0 },        /* 0 0110 */ 
  38. { illegal  , 0        ,       0, 0,   0 },        /* 0 0111 */ 
  39. { pfl_or_ld, "PFLUSH" ,       0, 0,   0 },        /* 0 1000 */ 
  40. { pflush30 , "PFLUSH" ,       1, 0,   0 },        /* 0 1001 */ 
  41. { pflush30 , "PFLUSH" ,       2, 0,   0 },        /* 0 1010 */ 
  42. { pflush30 , "PFLUSH" ,       3, 0,   0 },        /* 0 1011 */ 
  43. { pflush30 , "PFLUSH" ,       4, 0,   0 },        /* 0 1100 */ 
  44. { pflush30 , "PFLUSH" ,       5, 0,   0 },        /* 0 1101 */ 
  45. { pflush30 , "PFLUSH" ,       6, 0,   0 },        /* 0 1110 */ 
  46. { pflush30 , "PFLUSH" ,       7, 0,   0 },        /* 0 1111 */ 
  47. { pmove30  , "PMOVE"  ,      TC, 0,   0 },        /* 1 0000 */ 
  48. { illegal  ,  0       ,       0, 0,   0 },        /* 1 0001 */ 
  49. { pmove30  , "PMOVE"  ,     SRP, 0,   0 },        /* 1 0010 */ 
  50. { pmove30  , "PMOVE"  ,     CRP, 0,   0 },        /* 1 0011 */ 
  51. { illegal  , 0        ,       0, 0,   0 },        /* 1 0100 */ 
  52. { illegal  , 0        ,       0, 0,   0 },        /* 1 0101 */ 
  53. { illegal  , 0        ,       0, 0,   0 },        /* 1 0110 */ 
  54. { illegal  , 0        ,       0, 0,   0 },        /* 1 0111 */ 
  55. { pmove30  , "PMOVE"  ,   MMUSR, 0,   0 },        /* 1 1000 */ 
  56. { illegal  , 0        ,       0, 0,   0 },        /* 1 1001 */ 
  57. { illegal  , 0        ,       0, 0,   0 },        /* 1 1010 */ 
  58. { illegal  , 0        ,       0, 0,   0 },        /* 1 1011 */ 
  59. { illegal  , 0        ,       0, 0,   0 },        /* 1 1100 */ 
  60. { illegal  , 0        ,       0, 0,   0 },        /* 1 1101 */ 
  61. { illegal  , 0        ,       0, 0,   0 },        /* 1 1110 */ 
  62. { illegal  , 0        ,       0, 0,   0 }         /* 1 1111 */ 
  63. };