You are not logged in.
I am a beginner about assembler in linux,
I use as and ld tools to compile coders,
but I don't find use segment address in codes,
for example DS and SS.
I want to know how to get and use segment address
in linux
Offline
Aren't DS and SS flags used for 16 bits assambly only?
On 32bits you don't use them as segment registers, and on 64bits you don't use them at all.
They are not necessary to access memory areas, thanks to the flat model.
Read more http://en.wikipedia.org/wiki/X86_memory_segmentation
"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.
Offline