Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Possible __NASMDEFSEG problems

Posted on 2004-04-26
4
Medium Priority
?
251 Views
Last Modified: 2008-03-06
Hi,

I looked in my .map file after it has been compiled by NASM.  And  this is what i see:

Detailed map of segments

 0000:0000 0271 C=CODE   S=_TEXT          G=(none)  M=ex1.ASM ACBP=68
 0000:0271 0128 C=CODE   S=_TEXT          G=(none)  M=ex2.ASM ACBP=28
 003A:0000 0008 C=BSS    S=_BSS           G=(none)  M=ex1.ASM ACBP=68
 003A:0008 000E C=BSS    S=_BSS           G=(none)  M=ex2.ASM ACBP=28
 003B:0006 0010 C=       S=__NASMDEFSEG   G=(none)  M=ex2.ASM ACBP=28

I looked in the nasm manual and it says the nasmdefseg appears IF you have code before an explicit segment definition.  HOWEVER, I do NOT have any code before one -- I'm very confused and I'm wondering about the possible implicatins of this issue.

Like what if nasm has a bug and puts ALL my code before that?  Is there a max, etc?

Thanks
0
Comment
Question by:sceptre04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:Dancie
ID: 10937757
Lets see the source
0
 

Author Comment

by:sceptre04
ID: 10944737
Ok the problem is solved -- was instead of doing a #include inside the code, I was compiling the .h file in from the command line.  As a result, nasm put that .h file in the nasmdefseg.

Thanks for the offer though Dancie!
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10945350
User resolved; closed, 50 points refunded.

Netminder
Site Admin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question