summaryrefslogtreecommitdiff
path: root/macros/smartalign.mac
diff options
context:
space:
mode:
Diffstat (limited to 'macros/smartalign.mac')
-rw-r--r--macros/smartalign.mac5
1 files changed, 2 insertions, 3 deletions
diff --git a/macros/smartalign.mac b/macros/smartalign.mac
index 4dc8fd5..48c07de 100644
--- a/macros/smartalign.mac
+++ b/macros/smartalign.mac
@@ -186,9 +186,8 @@ USE: smartalign
times (((%1) - (($-$$) % (%1))) % (%1)) nop
%$end:
%else
- %rep %$pad / __ALIGN_%[__BITS__]BIT_GROUP__
- db __ALIGN_%[__BITS__]BIT_%[__ALIGN_%[__BITS__]BIT_GROUP__]B__
- %endrep
+ times (%$pad / __ALIGN_%[__BITS__]BIT_GROUP__) \
+ db __ALIGN_%[__BITS__]BIT_%[__ALIGN_%[__BITS__]BIT_GROUP__]B__
%assign %$pad %$pad % __ALIGN_%[__BITS__]BIT_GROUP__
%if %$pad > 0
db __ALIGN_%[__BITS__]BIT_%[%$pad]B__