NASM Forum > Example Code

Source for producing working win32 exe



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? :)



[0] Message Index

Go to full version