can anyone give me a comprehensive description about ORG directive? When and why is it used in assembly written applications?
Using Nasm on x86 or AMD64.
ORG is merely an indication on where to put the next piece of code/data, related to the current segment.
It is of no use to use it for fixed addresses, for the eventual address depends on the segment which is not known at assembly time.