Q. Explain Parameter Passing in Procedures?
Parameter passing is a very vital concept in assembly language. It makes assembly procedures more general. Parameter can be passed to and from to the main procedures. Parameters can be passed in given ways to a procedure:
1. Parameters passing through registers
2. Parameters passing through dedicated memory location accessed by name
3. Parameters passing through pointers passed in registers
4. Parameters passing by using stack