flat assembler
Message board for the users of flat assembler.
Index
> Windows > [] |
Author |
|
Spool 14 Mar 2013, 14:30
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:51; edited 1 time in total |
|||
14 Mar 2013, 14:30 |
|
TightCoderEx 14 Mar 2013, 15:15
This kind of declaration is perfectly acceptable and is not much different that putting in .const section. In either case, because it is in a read-only segment, you can't modify the contents.
|
|||
14 Mar 2013, 15:15 |
|
revolution 14 Mar 2013, 15:40
TightCoderEx wrote: This kind of declaration is perfectly acceptable and is not much different that putting in .const section. In either case, because it is in a read-only segment, you can't modify the contents. A .const section could also be writeable. It would depend upon how the programmer defines the section. |
|||
14 Mar 2013, 15:40 |
|
Spool 15 Mar 2013, 13:46
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:50; edited 1 time in total |
|||
15 Mar 2013, 13:46 |
|
AsmGuru62 15 Mar 2013, 16:54
Why not? Stack room was invented for that (in part).
|
|||
15 Mar 2013, 16:54 |
|
Spool 15 Mar 2013, 17:32
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:50; edited 1 time in total |
|||
15 Mar 2013, 17:32 |
|
AsmGuru62 15 Mar 2013, 21:14
Ah!... premature optimization? Sweet!
I think the fact that you mixing code and data in one section will somewhat slow your code. Maybe more than a couple of cycles for stack setup. |
|||
15 Mar 2013, 21:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.