-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathop_8d.c
More file actions
31 lines (21 loc) · 683 Bytes
/
op_8d.c
File metadata and controls
31 lines (21 loc) · 683 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
#include"bin2inc.h"
boolean op_8d(void){
address_mode = read_byte();
if(address_mode == 0x40){
if(read_byte() == 0){
// lea eax, [eax + 0]
sprintf(ibuffer, "align %s\n;%s",
hexbyte(getAlignment(current_va.offset)),
"aligned with dummy instruction lea eax, [eax + 0]");
comment_instruction();
goto l_end;
}
current_va.offset--;
}
sprintf(ibuffer, iFORMAT"%s, %s", "lea", mod_reg(), mod_rm());
l_end:
mark_instruction();
// push next instruction offset to stack
IDisasm.pushAddress(¤t_va);
return boolean(1);
}