flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 20 Mar 2007, 21:45
note: match was used because i needed to restore LIST and after that use it's value. I could aswell do
Code: X equ LIST restore LIST LIST equ X,name, `name restore X |
|||
![]() |
|
Goplat 21 Mar 2007, 01:06
fasm doesn't have a structured heap like C's malloc/free. To get memory it just takes a pointer to free space, adds the desired size and uses the old value. (or, if it's getting memory from the end of a block, subtracts the size and uses the new value)
This is fast, but it means things can't get freed until the end of the phase when all the temporary stuff can be freed at once. |
|||
![]() |
|
vid 21 Mar 2007, 01:49
hmmm... you are probably right. I haven't realized this.
Too bad for memory consumption... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.