flat assembler
Message board for the users of flat assembler.

Index > Main > template

Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 819
Ali.Z 06 Feb 2018, 05:13
this is my template, even tho i dont use everything here.
i wish if fasm have at least an option to save one template, so i dont have to manually copy and paste.

Code:
;.386
;.model flat, stdcall
;.stack 0x64
include 'win32a.inc'
format pe gui ;6.1
entry point

section '.text' code readable executable ; .text module executable code

point:

section '.data' data readable writeable ; .data module global variables

;section '.bss' data readable writeable ; .bss module uninitialized data and static variables

;section '.rdata' data readable ; .rdata module read-only variables and constants

;section 'rsrc' data readable ; .rsrc module resources information

section '.idata' import data readable writeable ; .idata module imported files and dependencies

  library kernel32,'KERNEL32.DLL',\
          user32,'USER32.DLL'

  include 'api\kernel32.inc'
  include 'api\user32.inc'

;section '.edata' readable writeable ; .edata module export data for other executables

;section '.reloc' fixups data readable discardable    

_________________
Asm For Wise Humans
Post 06 Feb 2018, 05:13
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.