1#ifndef ROSE_BinaryAnalysis_InstructionEnumsM68k_H
2#define ROSE_BinaryAnalysis_InstructionEnumsM68k_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
12namespace BinaryAnalysis {
19 m68k_family = 0xffffffff,
21 m68k_generation_1 = 0x000000ff,
22 m68k_68000_only = 0x00000001,
23 m68k_68ec000 = 0x00000002,
24 m68k_68hc000 = 0x00000004,
25 m68k_68000 = 0x00000007,
26 m68k_68008 = 0x00000008,
27 m68k_68010 = 0x00000010,
28 m68k_68012 = 0x00000020,
30 m68k_generation_2 = 0x0000ff00,
31 m68k_68020_only = 0x00000100,
32 m68k_68ec020 = 0x00000200,
33 m68k_68020 = 0x00000300,
34 m68k_68030_only = 0x00000400,
35 m68k_68ec030 = 0x00001000,
36 m68k_68030 = 0x00002000,
38 m68k_generation_3 = 0x00ff0000,
39 m68k_68040_only = 0x00010000,
40 m68k_68ec040 = 0x00020000,
41 m68k_68lc040 = 0x00040000,
42 m68k_68040 = 0x00070000,
44 m68k_freescale = 0xff000000,
45 m68k_freescale_cpu32= 0x01000000,
46 m68k_freescale_isaa = 0x02000000,
47 m68k_freescale_isab = 0x04000000,
48 m68k_freescale_isac = 0x08000000,
49 m68k_freescale_fpu = 0x10000000,
50 m68k_freescale_mac = 0x20000000,
51 m68k_freescale_emac = 0x40000000,
52 m68k_freescale_emacb= 0x80000000
56enum M68kRegisterClass {
66enum M68kSpecialPurposeRegister {
91enum M68kEmacRegister {
101enum M68kSupervisorRegister {
187enum M68kEffectiveAddressMode {
188 m68k_eam_unknown = 0,
191 m68k_eam_drd = 0x00000001,
192 m68k_eam_ard = 0x00000002,
193 m68k_eam_ari = 0x00000004,
194 m68k_eam_inc = 0x00000008,
195 m68k_eam_dec = 0x00000010,
196 m68k_eam_dsp = 0x00000020,
197 m68k_eam_idx8 = 0x00000040,
198 m68k_eam_idxbd = 0x00000080,
199 m68k_eam_mpost = 0x00000100,
200 m68k_eam_mpre = 0x00000200,
201 m68k_eam_pcdsp = 0x00000400,
202 m68k_eam_pcidx8 = 0x00000800,
203 m68k_eam_pcidxbd = 0x00001000,
204 m68k_eam_pcmpost = 0x00002000,
205 m68k_eam_pcmpre = 0x00004000,
206 m68k_eam_absw = 0x00008000,
207 m68k_eam_absl = 0x00010000,
208 m68k_eam_imm = 0x00020000,
211 m68k_eam_all = 0x0003ffff,
212 m68k_eam_rd = 0x00000003,
213 m68k_eam_ri = 0x0000003c,
214 m68k_eam_idx = 0x000000c0,
215 m68k_eam_mi = 0x00000300,
216 m68k_eam_pci = 0x00000400,
217 m68k_eam_pcidx = 0x00001800,
218 m68k_eam_pcmi = 0x00006000,
219 m68k_eam_abs = 0x00018000,
222 m68k_eam_data = 0x0003fffd,
223 m68k_eam_memory = 0x0003fffc,
224 m68k_eam_control = 0x0001ffe4,
226 m68k_eam_alter = 0x0001e3ff,
231 m68k_eam_234 = 0x00007380,
234 m68k_eam_direct = 0x00000003,
235 m68k_eam_pc = 0x00007c00
249 m68k_fmt_unknown = 255
253enum M68kInstructionKind {
254 m68k_unknown_instruction,
503 m68k_last_instruction