• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1815
  • Last Modified:

What are the %fs and %gs registers?

In x64-bit assembly, what are the %fs and %gs registers?

For example:
mov    %fs:0x28,%rax
  • 2
1 Solution
käµfm³d 👽Commented:
According to this page, they are "segment registers". Here they are mentioned as "extra" and possibly used for special instructions.
pzkhanAuthor Commented:
Do you understand what that instruction might be doing?
I suppose that was my ultimate question, but not what I asked so I owe you some points :-)
käµfm³d 👽Commented:
Unfortunately assembly is not my forte. I would hold out for someone more versed in that area. Sorry  : \
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now