linux - Who arranges/creates the different segments(stack,heap,code segment, data segment) of a program -


while going through diiferent segments of program, have still doubt creates segments. understanding assembler creates different segments while creating assembly code , when loading virtual memory loader creates virtual address space segments , stores them in virtual memory.

please me in understanding it.

yes, assembler generates individual segments, specify them in code using labels, instance .data directive tells assembler we've reached data segment.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -