flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > param counting

Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 719
Ali.Z 04 Jan 2021, 14:12
this is not a report of any kind, just wondering why fasm only count comma's without checking if there is anything inside.

when win32axp.inc is included, the following line will be assembled without problem.

Code:
invoke              MessageBox,,,,    


assembled as plain call with no args.

_________________
Asm For Wise Humans
Post 04 Jan 2021, 14:12
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1815
Roman 04 Jan 2021, 14:16
This is secret door !
Into the hidden world of fasm.
Post 04 Jan 2021, 14:16
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 04 Jan 2021, 23:08
Empty arguments are still valid arguments. It depends upon your macro as to how you choose to process them.
Post 04 Jan 2021, 23:08
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.