Lines Matching defs:ea
102 static size_t sib_decode( unsigned char *buf, size_t buf_len, x86_ea_t *ea,
122 imm32_signsized( &buf[1], buf_len, &ea->disp, sizeof(int32_t));
123 ea->disp_size = sizeof(int32_t);
124 ea->disp_sign = (ea->disp < 0) ? 1 : 0;
129 ia32_handle_register( &ea->base, sib.base + 1 );
133 ea->scale = 1 << sib.scale;
137 ia32_handle_register( &ea->index, sib.index + 1 );
147 x86_ea_t * ea = &op->data.expression;
151 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 3);
152 ia32_handle_register(&ea->index, REG_WORD_OFFSET + 6);
155 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 3);
156 ia32_handle_register(&ea->index, REG_WORD_OFFSET + 7);
159 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 5);
160 ia32_handle_register(&ea->index, REG_WORD_OFFSET + 6);
164 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 5);
165 ia32_handle_register(&ea->index, REG_WORD_OFFSET + 7);
168 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 6);
171 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 7);
176 ia32_handle_register(&ea->base,
181 ia32_handle_register(&ea->base, REG_WORD_OFFSET + 3);
190 imm32_signsized( buf, buf_len, &ea->disp, sizeof(char) );
191 ea->disp_sign = (ea->disp < 0) ? 1 : 0;
192 ea->disp_size = sizeof(char);
195 imm32_signsized( buf, buf_len, &ea->disp, sizeof(short) );
196 ea->disp_sign = (ea->disp < 0) ? 1 : 0;
197 ea->disp_size = sizeof(short);
206 two-dimensional arrays [disp + index], classes [ea reg], and so on.
216 x86_ea_t * ea;
230 ea = &op->data.expression;
249 imm32_signsized( buf, buf_len, &ea->disp,
251 ea->disp_size = sizeof(int32_t);
252 ea->disp_sign = (ea->disp < 0) ? 1 : 0;
258 size += sib_decode( buf, buf_len, ea, modrm.mod);
264 ia32_handle_register( &ea->base, modrm.rm + 1 );
270 size += sib_decode( buf, buf_len, ea, modrm.mod);
276 ia32_handle_register( &ea->base, modrm.rm + 1 );
282 imm32_signsized( buf, buf_len, &ea->disp,
284 ea->disp_size = sizeof(char);
285 ea->disp_sign = (ea->disp < 0) ? 1 : 0;
290 imm32_signsized( buf, buf_len, &ea->disp,
292 ea->disp_size = insn->addr_size;
293 ea->disp_sign = (ea->disp < 0) ? 1 : 0;