Tectrendz
Tectrendz

Reputation: 1454

disassemble output :mov edx,DWORD PTR [ebp-28]

In the following output of disassemble 28 is in decimal or hex ? mov edx,DWORD PTR [ebp-28]

Upvotes: 0

Views: 353

Answers (1)

Employed Russian
Employed Russian

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

Related Questions