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 6470181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:04:47+00:00 2026-05-25T06:04:47+00:00

I have a few questions about assembly which I am learning and I am

  • 0

I have a few questions about assembly which I am learning and I am confused by.

  1. What is the difference between bx and bp and ss and sp? The book says that bx is base register and bp is base pointer. Does this mean they are the same thing?

  2. What is the difference with mov ax, bx, mov ax, [bx], mov ax, bp and mov ax, [bp]?

  3. What does disp mean in indexed addressing mode? For example mov al, disp[bx]? or mov al, disp[si]? The book does not explain meaning of disp.

  4. Register is in CPU not RAM right?

    Please excuse my English, it is not my first langugage.

  • 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-25T06:04:47+00:00Added an answer on May 25, 2026 at 6:04 am

    Oh my, these 16-bit registers became all but obsolete in 1984. Sorry you have an old book. Nevertheless modern processors still use these things, so your question makes sense. I actually wrote some 16-bit assembly back in the day and oddly enough I remember it. Yikes.

    1. BX, BP, SS, and SP are just four separate registers. BX, BP, and SP are general purpose registers (the other 16-bit GPRs are AX, CX, DX, SI, and DI) and SS is a segment register, which you don’t use too often (it is implicitly used when you reference BP and SP). A full answer to what each of these registers are far would take up far more space than a usual SO answer should. But to answer your specific question BX and BP are two different registers, not the same one. BP is normally used to index stack frames, and BX is normally used to index into structures or arrays.

    2. MOV AX, BX moves the contents of BX into AX, while MOV AX, [BX] moves the contents of the memory location whose value is in DS:BX into AX. That is, if BX contained the value 500, then the first instruction moves 500 into AX, while the second moves the contents of address 500 (technically 500 bytes past the beginning of segment DS) into AX. (Note there are some subtle differences in the way MOV instructions like this are interpreted in different assemblers, such as MASM and NASM.)

    3. DISP is just an abbreviation for “displacement”, a number added to the value in a register to compute something like the address of a variable in a stack frame or an element in a structure. In instructions like MOV AX, [BX+25] then 25 is the displacement.

    4. Yes, registers are part of a CPU.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few questions about endian-ness that are related enough that I warrant
I have a few questions about Grit/Git that I hope you can help me
I have spent a few days learning Objective-C and have a few questions about
I have few questions about using lock to protect my shared data structure. I
I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
I have a few questions about Core Location. 1) Should the user refuse permission
I have a few questions about the eq() property of jQuery and how to
I have a few quick questions about the Microsoft Detours Library. I have used

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.