Reputation: 1454
In the following output of disassemble 28 is in decimal or hex ? mov edx,DWORD PTR [ebp-28]
Upvotes: 0
Views: 353
Reputation: 213799
In the following output of disassemble 28 is in decimal or hex ? mov edx,DWORD PTR [ebp-28]
Very likely decimal. Is that output from GDB?
Newer versions of GDB use hex, and are explicit about it:
0x000cadb6 <+6>: mov eax,DWORD PTR [ebp+0x8]
Upvotes: 1