summaryrefslogtreecommitdiff
path: root/standard.mac
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-04-20 15:33:45 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-04-21 01:07:47 +0400
commitd5f2aef30abcba734c51abdadf3255a6f4bd5be9 (patch)
treec56e16283f5c979b47174d9ba5b7fc76d02224e8 /standard.mac
parentd7a64b72a2ca9c0a399545279f96a5b7e39b8b6d (diff)
downloadnasm-d5f2aef30abcba734c51abdadf3255a6f4bd5be9.tar.gz
nasm-d5f2aef30abcba734c51abdadf3255a6f4bd5be9.tar.bz2
nasm-d5f2aef30abcba734c51abdadf3255a6f4bd5be9.zip
Introduce SEGALIGN directive
No real handling yet though. Definition only. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'standard.mac')
-rw-r--r--standard.mac4
1 files changed, 4 insertions, 0 deletions
diff --git a/standard.mac b/standard.mac
index a3e8eea..a7a52db 100644
--- a/standard.mac
+++ b/standard.mac
@@ -66,6 +66,10 @@
%define __SECT__ [segment %1]
__SECT__
%endmacro
+%imacro segalign 1+.nolist
+%define __SECT__ [segalign %1]
+ __SECT__
+%endmacro
%imacro absolute 1+.nolist
%define __SECT__ [absolute %1]