Assume fs:nothing

Source: Internet
Author: User


Because the MASM compiler defaults to defining FS as error, it is necessary to use the FS register in the program
Assume fs:nothing to declare, otherwise it will be an error.

2, Http://

Q:What does it mean that the segment name field in the assume pseudo-directive can be nothing?

Assume segment Register Name: segment name [, Segment register Name: segment name, ....]

The China in the assume pseudo-directive can also be a special keyword nothing, which indicates that a segment register is no longer associated with any segment

The corresponding relationship.

I do not understand this, because you do not have to assume instructions, it would have "no relationship with any paragraph" ah. Do not know where to understand

Wrong, could you please give me an example to illustrate, thank you


You can understand this, assuming you first use the assume Cs:code, set up the CS and code segment contact, now you want to let CS and other paragraphs to generate contact, you can use assume cs:nothing, to cancel the CS and code segment contact.
In addition, if you do not specify a segment name and use assume nothing directly, the relationship setting for all previous segments is canceled.
Hope to be of help to you, thank you.


Assume fs:nothing

Related Keywords:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.