1

If you look at the following code:

Say hello function

Memory is referenced using either qword [ss: MEM_ADDRESS] or qword [ds: MEM_ADDRESS]. What is the difference here?

Jester
  • 56,577
  • 4
  • 81
  • 125
SivaDotRender
  • 1,581
  • 4
  • 21
  • 37
  • 4
    Just your silly disassembler displaying default segments, which mean nothing in 64 bit mode anyway. Look in the options to disable it. Until you see `fs` or `gs`, you can safely ignore it. – Jester May 08 '15 at 15:13
  • @Jester can you clarify what ss ds fs and gs mean? – SivaDotRender May 08 '15 at 16:21
  • `ds:` and `ss:` are segment override prefixes, which are unnecessary here as the registers in question use those segments by default. Here's a SO question about `fs` and `gs`. http://stackoverflow.com/questions/10810203/what-is-the-fs-gs-register-intended-for – Weather Vane May 08 '15 at 16:27

0 Answers0