Given the opcode 80 3d 1d b0 09 00 00
.
The corresponding capstone instruction is
<CsInsn 0x66a4 [803d1db0090000]: cmp byte ptr [rip + 0x9b01d], 0>
and has the following properties (c_i
being the name of the instruction object)
c_i.disp: 0x9b01d
c_i.disp_offset: 0x2
c_i.disp_size 0x4
A different instruction
<CsInsn 0xd3de [66c705714309000000]: mov word ptr [rip + 0x94371], 0>
has:
c_i.disp: 0x94371
c_i.disp_offset: 0x3
c_i.disp_size: 0x2
The first two properties make sense to me. But why is the disp_size
0x2
and not 0x4
?
byte
and the second isword
(2 byte)