Question: what is the difference between near and far procedure?
Answer: A near call refers a procedure which is in the same code segment. A Far call refers a procedure which is in different code segment It is also called Intra-segment call. It is also called Inter-segment call A Near Call replaces the old IP with new IP A FAR replaces CS & IP with new CS & IP.