|
There are two types of addresses: absolute addresses and relative addresses.- Absolute addresses are those addresses that are fixed and never changes such as addresses of I/O and other ports, etc.
- On the other hand, relative addresses are those addresses that depend on the starting address of the object code such as addresses of instructions and operands (variables and constants declared and defined in a function). Whenever, the starting address of the object code is changed, these addresses also need to be changed.
|