flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > error: out of stack space.

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 15 Jul 2005, 09:41
Thanks for finding out that bug with single-line definitions - if was an oversight in the new "rept"/"match" handler. Fixed it just now.
Post 15 Jul 2005, 09:41
View user's profile Send private message Visit poster's website 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 18 Jul 2005, 02:56
I have changed my macros now using this layout:
Code:
StringDataList equ

macro OpenStringData{local z
StringDataList equ StringDataList,z
macro z{}

CloseStringData fix }

macro PlaceStringData{macro execute[instr]{forward instr\}
match instr,StringDataList{execute instr\}
purge execute}    

And I use like this:
Code:
OpenStringData
;arbitrary code can follow
string1: db 'Hello world',0
xor ebx,ecx
;...
CloseStringData

;... some code etc.

PlaceStringData    

Now my stack usage has reduced to less than 2k

PS: Great work with fixing the "application error". 30 minutes after reporting it is fixed. Now that is good service.
Post 18 Jul 2005, 02:56
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:  
Goto page Previous  1, 2

< 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.