I'm using code from the next branch to decode instructions and get its details.
I wonder is ARM code for pop register correct e.g.
04 10 9D E4 -----> pop {r1}
Disasm:
0x80001000: pop {r1}
op_count: 1
operands[0].type: REG = r1
operands[0].access: READ
Write-back: True
Registers read: r1
Is this correct to you guys ?
Shouldn't this instruction have operands read sp, write r1, write sp ? since it decodes to
r1 = [sp]
sp = sp + 4
I'm using code from the next branch to decode instructions and get its details.
I wonder is ARM code for pop register correct e.g.
04 10 9D E4 -----> pop {r1}
Disasm:
0x80001000: pop {r1}
op_count: 1
operands[0].type: REG = r1
operands[0].access: READ
Write-back: True
Registers read: r1
Is this correct to you guys ?
Shouldn't this instruction have operands read sp, write r1, write sp ? since it decodes to
r1 = [sp]
sp = sp + 4