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 means origin ORG is used for specific addressing in microprocessor and microcontroller programming.
For example:
.org 0000H
This means we want to start our program from the 0000H address.
0000H