flat assembler
Message board for the users of flat assembler.

Index > Main > live-debugging of macros

Author
Thread Post new topic Reply to topic
_shura



Joined: 22 May 2015
Posts: 61
_shura 02 Sep 2016, 21:05
Ohai,
I am curious how I can better debug my macros, to see which parts takes the longest and need some optimizing. fasm seems to puts debug-messages not until everything is compiled on the command line, but this takes about 10 to 20 seconds.
Or where should I look for bottlenecks in my macros?

EDIT:
To test the code: Compile https://github.com/sivizius/yasic/blob/master/yasic.fcfg
This file includes https://github.com/sivizius/yasic/blob/master/stat/parser.finc and invokes `yasic_parse` with https://github.com/sivizius/yasic/blob/master/code/yasic.sba
`yasic_parse` is the actual macro, which takes the most amount of time.
Post 02 Sep 2016, 21:05
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.