flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Spool
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:51; edited 1 time in total |
|||
![]() |
|
TightCoderEx
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.
|
|||
![]() |
|
revolution
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. |
|||
![]() |
|
Spool
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:50; edited 1 time in total |
|||
![]() |
|
AsmGuru62
Why not? Stack room was invented for that (in part).
|
|||
![]() |
|
Spool
[ Post removed by author. ]
Last edited by Spool on 17 Mar 2013, 10:50; edited 1 time in total |
|||
![]() |
|
AsmGuru62
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.