News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Simplified Segments

Started by Lupus, February 18, 2022, 06:41:33 AM

Previous topic - Next topic

Lupus

In the MASM reference, Simplified Segments Directives (.CODE, .DATA, etc.) are said to only be applicable to 32 bit assembly. However, I have seen several 64 bit examples where these directives are allowed. What's going on?

Gunther

Lupus,

Quote from: Lupus on February 18, 2022, 06:41:33 AM
In the MASM reference, Simplified Segments Directives (.CODE, .DATA, etc.) are said to only be applicable to 32 bit assembly. However, I have seen several 64 bit examples where these directives are allowed. What's going on?

the simplified directives are valid not only for 32 but also for 16 or 64 bit. You can take a look at this thread for example.
You have to know the facts before you can distort them.

Lupus


Lupus

Gunther. Do you know why the MASM reference would list the directives for 32 bit only?

Gunther

Lupus,

Quote from: Lupus on February 18, 2022, 07:51:03 AM
Gunther. Do you know why the MASM reference would list the directives for 32 bit only?

I don't know. But what is certain is that MASM will continue to be maintained and developed. This obviously does not apply to documentation.
You have to know the facts before you can distort them.

Lupus


Gunther

You have to know the facts before you can distort them.