flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > NEatHelper - mini help system :>

Author
Thread Post new topic Reply to topic
ramguru



Joined: 26 Feb 2005
Posts: 19
Location: who cares...
ramguru 23 Jul 2009, 23:21
Well my main project wasn't going very smoothly so I decided to realize another idea that I had in my mind at that moment.
Image
So as you can see the main idea is to draw a big number of preferably short length keywords, that are of course variable length. App's main goal is to figure out which keyword was clicked & then show appropriate description below. Drawing of course is very fast/optimized, no flicker etc. I haven't supplied complete documentation just wanted to share the idea, btw my English isn't perfect :} .. Thought maybe such app could serve for fasm keyword documentation or PE format specification. ALSO I supplied an EXCEL file that generates most of .data statements according to keywords & their description.


Description:
Download
Filename: NEatHelper.zip
Filesize: 50.72 KB
Downloaded: 858 Time(s)

Post 23 Jul 2009, 23:21
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4024
Location: vpcmpistri
bitRAKE 24 Jul 2009, 01:45
It is a good idea.
Code:
macro KEYWORDS [key,desc] {
    forward
             local ..key,..desc,..len
            ..key   db key,0
            ..len = $ - ..key - 1
               ..desc  db desc,0
   common
              _keywords:
      forward
             dd ..key,..desc
     common
              keycount        dd ($-_keywords)/8
          _keylens:
       forward
             dd ..len
}


KEYWORDS  \
  "#",  "# operator causes two names to be concatenated into one name.",\
        "$",  "$ is always equal to the value of current offset.",\
    "$$", "$$ is equal to base address of current addressing space.",\
     "%",  "% is the number of current repeat in parts of code that are repeated using some special directives.",\
  "&",      "& stands for logical and."    
...maybe, this helps?

(edited to fix error noted below)


Last edited by bitRAKE on 24 Jul 2009, 14:12; edited 1 time in total
Post 24 Jul 2009, 01:45
View user's profile Send private message Visit poster's website Reply with quote
ramguru



Joined: 26 Feb 2005
Posts: 19
Location: who cares...
ramguru 24 Jul 2009, 07:46
Thank you
silly me Embarassed trying to use M$ Excel instead of one powerful macro.
P.S. there was a slight problem in your macro

Code:
keycount        dd ($-_keywords)/4
; should be
keycount        dd ($-_keywords)/8
    
Post 24 Jul 2009, 07:46
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6115
Location: Poland
MHajduk 24 Jul 2009, 09:00
I think this application could be a very useful add-on for FASMW. Unfortunately it seems to be created only for 64-bit systems, so I wasn't able to test it. Anyway, keep it up. Smile
Post 24 Jul 2009, 09:00
View user's profile Send private message Visit poster's website Reply with quote
ramguru



Joined: 26 Feb 2005
Posts: 19
Location: who cares...
ramguru 24 Jul 2009, 09:48
It's really easy to convert to 32-bit ... I'll do so when I added some useful documentation to it & it's worth re-release :}
Post 24 Jul 2009, 09:48
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.