flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Main > template

Author
Thread Post new topic Reply to topic
Ali.A



Joined: 08 Jan 2018
Posts: 35

template

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


Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2018, Tomasz Grysztar.
Powered by rwasa.