News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Macro-less problems

Started by MASM, August 21, 2012, 06:02:17 AM

Previous topic - Next topic

sinsi

From what I remember, you can use segments as well as simplified .code/.data as well.
.code expands to "_TEXT segment public"
.data expands to "_DATA segment public"

The only problem I remember was that using a dotname (.code, .data) would close the preceding segment (an invisible "_TEXT ends" for example).
Mixing .code and "_TEXT segment public" will line the procs up one after another, same as multiple .code lines.