flat assembler
Message board for the users of flat assembler.

Index > Main > What next in new version Fasmw?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 19 Mar 2023, 07:09
This topic about new version upcomming Fasmw.
And New features.

My first question, when releasing next version Fasmw?
And what new features upcomming?
Post 19 Mar 2023, 07:09
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 19256
Location: In your JS exploiting you and your system
revolution 19 Mar 2023, 07:12
Are you asking generally for fasm or only about the IDE fasmw?
Post 19 Mar 2023, 07:12
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 19 Mar 2023, 07:29
Generally Fasm.
But IDE enteresting too.
Post 19 Mar 2023, 07:29
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4302
Location: Now
edfed 19 Mar 2023, 09:04
in the ide, really good thing is to have a side foldable treeview with capacity to open files as new tabs.
Post 19 Mar 2023, 09:04
View user's profile Send private message Visit poster's website Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 728
Location: Russian Federation, Sochi
ProMiNick 19 Mar 2023, 09:17
As I understood correct in active development is fasmg only.
in fasm only fixed (if they found) bugs, supported new officialy documented instructions and become backporting from fasmg features that could be easy backported.
what could be updated outside of core?
application compiled out of the box should be compatible with large as possible number of environment - because of that included set of winapi should never be updated, but structs could be updated without of loss compatibility, they just reserve additional space for struct fields not used in previous versions of windows (however some structs should exist in different version forms - window control structs, but it seems to me such ones not present in standard includes at all), equations could be freely updated to be extended with values added with new windows versions.
what will be interesting to see in IDE? migration of linenumbers from status bar (in status bar of course only active cursor pos which X coordinate accords to current linenumber) to NC(not client) area of flat editor, work with NC area interesting by itself (last one most likely will be mod under official fasm than update)
what could be added by entusiasts? standalone app that grab text from clipboard parse it as resourse definition at fasm syntax and allowing to change it graphicaly with ability of returning current state back to clipboard, that app should be able to grab(and request if some unresolved) equations from paths, files, clipboard or user input.
Post 19 Mar 2023, 09:17
View user's profile Send private message Send e-mail Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 25 Mar 2023, 10:30
Exist equ.
But not exist neq.
Code:
V1 equ eax
T neq V1 ;mean store name V1
Display T ;get V1 not eax
;if we do split chars and numbers
match e=0, T {display e}  ;we get V, not eax! 


    
Post 25 Mar 2023, 10:30
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8135
Location: Kraków, Poland
Tomasz Grysztar 25 Mar 2023, 11:12
Roman wrote:
Exist equ.
But not exist neq.
Code:
V1 equ eax
T neq V1 ;mean store name V1
Display T ;get V1 not eax
;if we do split chars and numbers
match e=0, T {display e}  ;we get V, not eax! 
    
It's called DEFINE:
Code:
define T V1    
Post 25 Mar 2023, 11:12
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 25 Mar 2023, 12:10
Code:
V1 equ eax
V2 equ ebx
define T V1 
display T ;get V1

;But how get this ?
T+1=V2 ;? or how using T in rept and get V1 and V2 ?    


And how store fasm preprocessor V1 and V2 ?
I mean its table offset or pointers to V1 and V2.
Post 25 Mar 2023, 12:10
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8135
Location: Kraków, Poland
Tomasz Grysztar 25 Mar 2023, 13:11
To fasm's preprocessor "V1" is an indivisible token. You cannot split it unless you keep it split in advance, by manually defining separate parts:
Code:
V1 equ eax
V2 equ ebx

T equ V#1

match base#number, T { rept 1 next:number+1 \{ display V\#next \} }    
For anything more advance you may need to use fasmg.
Post 25 Mar 2023, 13:11
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 25 Mar 2023, 14:39
Thanks.
Little changed example.
Code:
define www  oo.@#2
match base#number, www { rept 2 next:number \{ display `base\#\`#next,13,10 \} }
;displayed
oo.@2
oo.@3
    
Post 25 Mar 2023, 14:39
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1370
Roman 25 Mar 2023, 15:10
V1 equ eax
V2 equ ebx

T equ V#1 ;This i am understood.

But how do in macro to define T, because macro using # ?
Code:
macro vequ a,e,[p] {
      ii equ 0
      forward      
      rept 1 x:ii+1 \{ ii equ x
      a#e#\#x  equ p
;i not understood how define num_oo.@2   oo.@#2       
      define num_#a#e#\#x  a#e#\\#x ;now this is right variant.
       \}    
      } 
display num_oo.@2 ;get empty    


Last edited by Roman on 25 Mar 2023, 17:52; edited 1 time in total
Post 25 Mar 2023, 15:10
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8135
Location: Kraków, Poland
Tomasz Grysztar 25 Mar 2023, 15:47
Add "\" before "#" for each additional enclosure you do. If you put "T equ V#1" inside a macro, it should become "T equ V\#1", and if you put it inside a REPT block inside a macro, it should become "T equ V\\#1", etc. The "\" character prevents the token from being processed in a macro block, but each time this happens, one "\" is cut off.
Post 25 Mar 2023, 15:47
View user's profile Send private message Visit poster's website 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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.