NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: nobody on May 26, 2006, 03:59:05 PM

Title: Source for producing working win32 exe
Post by: nobody on May 26, 2006, 03:59:05 PM
http://phpfi.com/120078 (http://phpfi.com/120078)

I think I got this done quite cleanly. And it might even work correctly, when you just insert the code, data, bss and imports.

Only thing is I couldn't merge the data and bss sections rightly.

Like, 12 bytes of data, file size aligned up to 0x200, and after that I put the bss section, which then, starts at 0x200. It works, but would be prettier if it would start right after those 12 bytes.

Can someone tell a clean solution to this? :)
Title: Re: Source for producing working win32 exe
Post by: nobody on June 06, 2007, 05:34:21 AM
http://board.flatassembler.net/topic.php?t=6735 (http://board.flatassembler.net/topic.php?t=6735)