Menu

#160 struc macros for structures with non-zero starting offset

closed
nobody
5
2009-03-27
2009-01-11
C. Masloch
No

I'm using some structures that have a non-zero starting offset (especially stack frames with negative starting offsets) and found that they worked fine after a few modifications of NASM's standard struc, endstruc and at macros. The modified struc takes an optional second parameter which is the structure's starting offset; it defaults to zero.

The attached file is usable as include file, but the actual macros could also replace NASM's standard macros or be included in a %use package.

Discussion

  • C. Masloch

    C. Masloch - 2009-01-11

    Include file for structures with non-zero starting offset

     
  • Victor van den Elzen

    This has been implemented and checked into git, (http://repo.or.cz/w/nasm.git). It will be in the next version.

     
  • Victor van den Elzen

    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.