WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Forum

  Reply to this topicStart new topicStart Poll

Explanation of the ALIGN MASM directive, How is this directive interpreted by the compiler ?

Lahar
Posted: Sep 7 2007, 10:57 PM
Quote Post


New Member
*

Group: Members
Posts: 13
Member No.: 5522
Joined: 18-August 07



Can someone please explain what does the ALIGN MASM directive means?

Example Usage:
CODE
.DATA?
ALIGN 4
one dd ?
two dd ?

ALIGN 16
Buffer db MAX_PATH dup(?)
one dup 10 (?)
two dup 20 (?)


Note: I also wanted to ask what this means:

CODE
dd ? one, two


Now i know for this to work, you need stdlib.inc and lib from drizz..


Thanks in advance,
__Lahar__

PMEmail Poster
Top
SeaFarer
Posted: Sep 7 2007, 11:10 PM
Quote Post


GO NAVY!
******

Group: Admins
Posts: 744
Member No.: 1464
Joined: 2-September 05



Hi Lahar,

Good to see you are keeping your interests in Assembler healthy. ;)

.data? == uninitialized data types.

I won't pretend to know what I do not. I am no assembly expert.

As some direction to help answer your other questions...

MASM 6.1 Programmer's Guide
PMUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll