Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 799665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:09:57+00:00 2026-05-14T23:09:57+00:00

In section 4.3 of Intel 64® and IA-32 Architectures Software Developer’s Manual. Volume 1:

  • 0

In section 4.3 of Intel 64® and IA-32 Architectures Software Developer’s Manual. Volume 1: Basic Architecture, it says:

A near pointer is a 32-bit offset … within a segment. Near pointers are used for all memory references in a flat memory model or for references in a segmented model where the identity of the segment being accessed is implied.

This leads me to wondering: how is the implied segment register determined?

I know that (%eip) and displaced (%eip) (e.g. -4(%eip)) addresses use %cs by default, and that (%esp) and displaced (%esp) addresses use %ss, but what about (%eax), (%edx), (%edi), (%ebp) etc., and can the implicit segment register depend also on the instruction that the memory address operand appears in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:09:58+00:00Added an answer on May 14, 2026 at 11:09 pm

    Other than CS and SS register accesses that you mentioned, most other accesses will use the DS segment register. A couple exceptions that I can recall:

    • the string-oriented instructions will use the ES for the ‘destination’ (implicitly addressed by the EDI register) segment register
    • memory accesses using the EBP register as a ‘base address’ register will use the SS segment register. However, if the EBP register is used as a scaled index register, the segment used will be DS (unless the base address register is ESP)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Intel Architecture's Developer's Manual (Vol3A, Section 8-26), says: The Pentium processor and more
The Images section of the following document https://developers.google.com/apps-script/html_service says that only images hosted on
I'm reading Understanding Linux Kernel. Paging for 64-bit Architectures As we have seen in
I want to know some basic concepts of assembly language to understand it's architecture
Section §6.5.3.2 Address and indirection operators ¶3 says (relevant section only): The unary &
Section 19.3 Tolerant Applications of the HTTP 1.1 RFC (2616) says on the subject
From the documentation under Platform section, It says It would run only if Server
Section userSoftware MessageBox MB_YESNO|MB_ICONQUESTION Insert user software DVD in to drive and click Yes
.section .data msgI: .ascii x = y\n msgI_end: msgM: .ascii x > y\n msgM_end:
Section 7.1.6 of the Modeshape docs say 'Your application can now create and remove

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.