00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #define HEX__(n) 0x##n##LU
00024 #define B8__(x) ((x&0x0000000FLU)?1:0) \
00025 + ((x&0x000000F0LU)?2:0) \
00026 + ((x&0x00000F00LU)?4:0) \
00027 + ((x&0x0000F000LU)?8:0) \
00028 + ((x&0x000F0000LU)?16:0) \
00029 + ((x&0x00F00000LU)?32:0) \
00030 + ((x&0x0F000000LU)?64:0) \
00031 + ((x&0xF0000000LU)?128:0)
00032 #define B8(d) ((unsigned char)B8__(HEX__(d)))
00033
00034
00035 #define DEC_BCCQ {B8(00000000), B8(11110000)}
00036 #define DEC_ADDOQ {B8(00010000), B8(11110000)}
00037 #define DEC_ADDQ {B8(00100000), B8(11111100)}
00038 #define DEC_MOVEQ {B8(00100100), B8(11111100)}
00039 #define DEC_SUBQ {B8(00101000), B8(11111100)}
00040 #define DEC_CMPQ {B8(00101100), B8(11111100)}
00041 #define DEC_ANDQ {B8(00110000), B8(11111100)}
00042 #define DEC_ORQ {B8(00110100), B8(11111100)}
00043 #define DEC_BTSTQ {B8(00111000), B8(11111110)}
00044 #define DEC_ASRQ {B8(00111010), B8(11111110)}
00045 #define DEC_LSLQ {B8(00111100), B8(11111110)}
00046 #define DEC_LSRQ {B8(00111110), B8(11111110)}
00047
00048
00049 #define DEC_MOVU_R {B8(01000100), B8(11111110)}
00050 #define DEC_MOVU_R {B8(01000100), B8(11111110)}
00051 #define DEC_MOVS_R {B8(01000110), B8(11111110)}
00052 #define DEC_MOVE_R {B8(01100100), B8(11111100)}
00053 #define DEC_MOVE_RP {B8(01100011), B8(11111111)}
00054 #define DEC_MOVE_PR {B8(01100111), B8(11111111)}
00055 #define DEC_DSTEP_R {B8(01101111), B8(11111111)}
00056 #define DEC_MOVE_RS {B8(10110111), B8(11111111)}
00057 #define DEC_MOVE_SR {B8(11110111), B8(11111111)}
00058 #define DEC_ADDU_R {B8(01000000), B8(11111110)}
00059 #define DEC_ADDS_R {B8(01000010), B8(11111110)}
00060 #define DEC_ADD_R {B8(01100000), B8(11111100)}
00061 #define DEC_ADDI_R {B8(01010000), B8(11111100)}
00062 #define DEC_MULS_R {B8(11010000), B8(11111100)}
00063 #define DEC_MULU_R {B8(10010000), B8(11111100)}
00064 #define DEC_ADDI_ACR {B8(01010100), B8(11111100)}
00065 #define DEC_NEG_R {B8(01011000), B8(11111100)}
00066 #define DEC_BOUND_R {B8(01011100), B8(11111100)}
00067 #define DEC_SUBU_R {B8(01001000), B8(11111110)}
00068 #define DEC_SUBS_R {B8(01001010), B8(11111110)}
00069 #define DEC_SUB_R {B8(01101000), B8(11111100)}
00070 #define DEC_CMP_R {B8(01101100), B8(11111100)}
00071 #define DEC_AND_R {B8(01110000), B8(11111100)}
00072 #define DEC_ABS_R {B8(01101011), B8(11111111)}
00073 #define DEC_LZ_R {B8(01110011), B8(11111111)}
00074 #define DEC_MCP_R {B8(01111111), B8(11111111)}
00075 #define DEC_SWAP_R {B8(01110111), B8(11111111)}
00076 #define DEC_XOR_R {B8(01111011), B8(11111111)}
00077 #define DEC_LSL_R {B8(01001100), B8(11111100)}
00078 #define DEC_LSR_R {B8(01111100), B8(11111100)}
00079 #define DEC_ASR_R {B8(01111000), B8(11111100)}
00080 #define DEC_OR_R {B8(01110100), B8(11111100)}
00081 #define DEC_BTST_R {B8(01001111), B8(11111111)}
00082
00083
00084 #define DEC_SETF {B8(01011011), B8(11111111)}
00085 #define DEC_CLEARF {B8(01011111), B8(11111111)}
00086
00087
00088 #define DEC_ADDU_M {B8(10000000), B8(10111110)}
00089 #define DEC_ADDS_M {B8(10000010), B8(10111110)}
00090 #define DEC_MOVU_M {B8(10000100), B8(10111110)}
00091 #define DEC_MOVS_M {B8(10000110), B8(10111110)}
00092 #define DEC_SUBU_M {B8(10001000), B8(10111110)}
00093 #define DEC_SUBS_M {B8(10001010), B8(10111110)}
00094 #define DEC_CMPU_M {B8(10001100), B8(10111110)}
00095 #define DEC_CMPS_M {B8(10001110), B8(10111110)}
00096 #define DEC_ADDO_M {B8(10010100), B8(10111100)}
00097 #define DEC_BOUND_M {B8(10011100), B8(10111100)}
00098 #define DEC_ADD_M {B8(10100000), B8(10111100)}
00099 #define DEC_MOVE_MR {B8(10100100), B8(10111100)}
00100 #define DEC_SUB_M {B8(10101000), B8(10111100)}
00101 #define DEC_CMP_M {B8(10101100), B8(10111100)}
00102 #define DEC_AND_M {B8(10110000), B8(10111100)}
00103 #define DEC_OR_M {B8(10110100), B8(10111100)}
00104 #define DEC_TEST_M {B8(10111000), B8(10111100)}
00105 #define DEC_MOVE_RM {B8(10111100), B8(10111100)}
00106
00107 #define DEC_ADDC_R {B8(01010111), B8(11111111)}
00108 #define DEC_ADDC_MR {B8(10011010), B8(10111111)}
00109 #define DEC_LAPCQ {B8(10010111), B8(11111111)}
00110 #define DEC_LAPC_IM {B8(11010111), B8(11111111)}
00111
00112 #define DEC_MOVE_MP {B8(10100011), B8(10111111)}
00113 #define DEC_MOVE_PM {B8(10100111), B8(10111111)}
00114
00115 #define DEC_SCC_R {B8(01010011), B8(11111111)}
00116 #define DEC_RFE_ETC {B8(10010011), B8(11111111)}
00117 #define DEC_JUMP_P {B8(10011111), B8(11111111)}
00118 #define DEC_BCC_IM {B8(11011111), B8(11111111)}
00119 #define DEC_JAS_R {B8(10011011), B8(11111111)}
00120 #define DEC_JASC_R {B8(10110011), B8(11111111)}
00121 #define DEC_JAS_IM {B8(11011011), B8(11111111)}
00122 #define DEC_JASC_IM {B8(11110011), B8(11111111)}
00123 #define DEC_BAS_IM {B8(11101011), B8(11111111)}
00124 #define DEC_BASC_IM {B8(11101111), B8(11111111)}
00125 #define DEC_MOVEM_MR {B8(10111011), B8(10111111)}
00126 #define DEC_MOVEM_RM {B8(10111111), B8(10111111)}
00127
00128 #define DEC_FTAG_FIDX_D_M {B8(10101011), B8(11111111)}
00129 #define DEC_FTAG_FIDX_I_M {B8(11010011), B8(11111111)}