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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:57:55+00:00 2026-05-27T11:57:55+00:00

a review problem lists these registers in hex: cs = ???? sp = 0300

  • 0

a review problem lists these registers in hex:

cs = ????  sp = 0300  ax = a66a  ip = 01cf
ds = 4100  bp = 0003  bx = 1234  
ss = 48ee  si = 0100  cx = 00ff
es = 4cee  di = 1000  dx = 0000
  1. The absolute address of the next instruction to be executed is 40f0f.

    40f0f  
    -01cf
    _____
    40d40 / 10 = 40d4 = cs
    
  2. Is the size of the data segment in bytes always equal to the stack segment minus the data segment * 10? 48ee – 4100 = 7ee0. Likewise, is the code segment in bytes always equal to the data segment minus the code segment * 10? 48ee – 40d4 = 81a0.

  3. For mov cx,[bx + si], the absolute address of the source operand is 42334.

    bx = 1234
    si = 0100
    _________
         1334
    
    ds = 4100 * 10 = 41000 + 1334 = 42334
    
  4. For mov cx,[di - 4], the absolute address of the source operand is 41ffc.

    di = 1000
         -  4
    _________
         0FFC
    
    ds = 4100 * 10 = 41000 + 0ffc = 41ffc
    
  5. For mov cx,[bp + si - 3], the absolute address of the source operand is 48fe0.

    bp = 0003
    si = 0100
          - 3
    _________
         0100
    
    ss = 48ee * 10 = 48ee0 + 0100 = 48fe0
    

Am I going about solving these the right way? How do I know when to use the stack segment for these calculations and when to use the data segment?

  • 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-27T11:57:55+00:00Added an answer on May 27, 2026 at 11:57 am

    For address calculations involving bp or sp or stack operations like push or pop the segment register is implicitly ss, for other addresses ds. Exception: If you use a string instruction, the destination segment register is implicitly es.

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

Sidebar

Related Questions

I review docs but I am lost... some problem with it: {% load i18n
This is a code review question more then anything. I have the following problem:
I got another problem with the FCKEditor within ASP.NET MVC. Please review the code
I'm building a Wine review site and have run into a database design problem
Please review this Stackoverflow post. I have the same PHP problem as bob_cobb. Here's
In a code review, I stumbled over this (simplified) code fragment to unregister an
Just for review, can someone quickly explain what prevents this from working (on compile):
After a review of the iPhone SDK documentation, I have not yet found a
In my Review model, I have the following: class Review < ActiveRecord::Base belongs_to :vendor
After some code review I removed unnecessary properties which resulted in empty rules. So

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.