Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 位移指令_C_Assembly_Gdb_Reverse Engineering_Disassembly - Fatal编程技术网

C 位移指令

C 位移指令,c,assembly,gdb,reverse-engineering,disassembly,C,Assembly,Gdb,Reverse Engineering,Disassembly,我怎样才能得到这个值呢 0x14(%esp,%ebx,4) 在GDB中 我尝试了p/x 0x14(%esp,%ebx,4)并得到了错误 A syntax error in expression, near `%esp,%ebx,4)' %esp+4*%ebx+0x14 它是根据这个公式计算的 偏移量(基准、索引、多行) 地址=基+索引*乘数+偏移量

我怎样才能得到这个值呢

0x14(%esp,%ebx,4)
在GDB中

我尝试了
p/x 0x14(%esp,%ebx,4)
并得到了错误

A syntax error in expression, near `%esp,%ebx,4)'
%esp+4*%ebx+0x14 它是根据这个公式计算的 偏移量(基准、索引、多行) 地址=基+索引*乘数+偏移量