flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Macroinstructions > some data defining macros | 
| 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)/¯ AI may [not] have aided with the above reply. | |||
| 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.