pop dword [index*mult+base+shift]
| 395 | |
| 396 | // pop dword [index*mult+base+shift] |
| 397 | int x86POP(unsigned char *stream, x86Size size, x86Reg index, int multiplier, x86Reg base, int shift) |
| 398 | { |
| 399 | (void)size; |
| 400 | assert(size == sDWORD); |
| 401 | if(base == rNONE && index != rNONE && multiplier == 1) // swap so if there is only one register, it will be base |
| 402 | { |
| 403 | base = index; |
| 404 | index = rNONE; |
| 405 | } |
| 406 | stream[0] = 0x8f; |
| 407 | unsigned int asize = encodeAddress(stream+1, index, multiplier, base, shift, 0); |
| 408 | return 1+asize; |
| 409 | } |
| 410 | // pop reg |
| 411 | int x86POP(unsigned char *stream, x86Reg reg) |
| 412 | { |
no test coverage detected