The difference between relative address and absolute address
1. The speed is different. The jump command of relative address is short and fast in execution speed, but the range There are restrictions.
2. Different applications. The relative address is the address of the linked file relative to the current page, while the absolute address is the absolute location of the file on the network or locally.
Relative address
Logical address refers to the memory unit seen from the perspective of the application in computer architecture (memory cell), storage element (storage element), network host (network host) address. Logical addresses are often different from physical addresses. Logical addresses can be converted into physical addresses through an address translator or mapping function.
Absolute address
The absolute address of memory (Absolute Address) refers to an address scheme in communications, computers, and data processing systems. This address directly identifies a memory location without the use of associated media, such as a base station address or associated addresses.
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of The difference between relative address and absolute address. For more information, please follow other related articles on the PHP Chinese website!