flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE 21 Mar 2008, 23:29
I had a similar problem and created an align macro which allows an offset also to be specified:
Code: macro ALIGN val,off { rb (val+off-($ mod val))mod val } Code: ALIGN 16,8 dat1 dd 1,2,3,4 Code: ALIGN 64,(64-inner+mainProc) mainProc: ; some code inner: ; aligned inner loop _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.