-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmn101.hpp
More file actions
55 lines (38 loc) · 816 Bytes
/
Copy pathmn101.hpp
File metadata and controls
55 lines (38 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef _MN101_HPP
#define _MN101_HPP
#include "../idaidp.hpp"
#include <ida.hpp>
#include <idp.hpp>
#include "ins.hpp"
extern netnode helper;
// Define a special op type for bitpos
#define o_bitpos o_idpspec0
enum mn101_registers {
OP_REG_NONE = 0,
OP_REG_D,
OP_REG_D0 = OP_REG_D,
OP_REG_D1,
OP_REG_D2,
OP_REG_D3,
OP_REG_A,
OP_REG_A0 = OP_REG_A,
OP_REG_A1,
OP_REG_DW,
OP_REG_DW0 = OP_REG_DW,
OP_REG_DW1,
OP_REG_SP,
OP_REG_PSW,
OP_REG_HA,
rVcs,
rVds,
rVh,
OP_REG_LAST,
};
void idaapi mn101_header(void);
void idaapi mn101_footer(void);
void idaapi mn101_segstart(ea_t ea);
int idaapi mn101_ana(void);
int idaapi mn101_emu(void);
void idaapi mn101_out(void);
bool idaapi mn101_outop(op_t &op);
#endif