flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Builds counter

Author
Thread Post new topic Reply to topic
Evgeny



Joined: 16 Jan 2006
Posts: 11
Evgeny
Code:
        format  pe gui 4.1
        entry   start
        include 'win32a.inc'

macro ver filename*,major*,minor*,rev*,b* {
  ver:
    .major dd major
    .minor dd minor
    .rev   dd rev
    if b eq '*'
      virtual at 0
        file filename:rva .build-0e00h,04h
        load bld dword from 0
      end virtual
      .build  dd bld+1
   else
      .build  dd b
   end if
}

;       ver     'Test.exe',1,0,1,0      ;Use this when compiling first time.
        ver     'Test.exe',1,0,1,'*'

start:  ret
    


Is there simpler solution?


Description:
Download
Filename: build_cnt.zip
Filesize: 660 Bytes
Downloaded: 59 Time(s)

Post 02 May 2006, 15:46
View user's profile Send private message Reply with quote
daluca



Joined: 05 Nov 2005
Posts: 86
daluca
what does it do? how you use it?
Post 23 Aug 2006, 05:50
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.