mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
parent
a619eba4c7
commit
673e0b3f2b
@ -1671,15 +1671,14 @@ static int opmov(RAsm *a, ut8 *data, const Opcode *op) {
|
||||
|
||||
if (op->operands[0].scale[0] > 1) {
|
||||
data[l++] = op->operands[1].reg << 3 | 4;
|
||||
if (op->operands[0].scale[0] > 2) {
|
||||
data[l++] = getsib (op->operands[0].scale[0]) << 6 |
|
||||
op->operands[0].regs[0] << 3 | 5;
|
||||
data[l++] = getsib (op->operands[0].scale[0]) << 6 |
|
||||
op->operands[0].regs[0] << 3 | 5;
|
||||
|
||||
data[l++] = offset;
|
||||
data[l++] = offset >> 8;
|
||||
data[l++] = offset >> 16;
|
||||
data[l++] = offset >> 24;
|
||||
|
||||
data[l++] = offset;
|
||||
data[l++] = offset >> 8;
|
||||
data[l++] = offset >> 16;
|
||||
data[l++] = offset >> 24;
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user