Physical address, logical address, a virtual address, a linear address

Physical address

1. Definitions

In the memory to byte units store information, or obtain the correct information to be stored, each byte memory cell given a unique address, called a physical address

Also known as the actual address or absolute address

2, parsing

Numbering starts at address 0, plus 1 each time sequentially, so the physical address space of the memory increases linearly

He is represented by a binary number, an unsigned integer, a writing format hexadecimal

In computer science, physical address, also called a real address, binary address

It is present on the address bus in electronic form , so that the data bus can access a particular memory cell of the main memory address of the memory

In the computer has virtual memory, the physical address of the virtual address used to distinguish multi-term

3. Calculation

In the real address mode, the address is a physical address by multiplying the segment offset address obtained by adding 16

Physical segment address address = offset * 16d +

Is the segment address will be defined in terms of memory segments for each section of the first paragraph address is the segment address

Logical address

1. Definitions

In computer architecture memory cell is seen from the perspective of the application, a storage unit, a network address of the host

It can be converted logical address into a physical address by the address translation or mapping function

Also known as a relative address

2, parsing

The address conversion function in the computer, the address (operand) instruction given access called logical addresses. After calculation or transformation of addressing only the physical address memory

The address of the user program is referred to as a logical address

The logical addresses constitute the address components of the two 16-bit segment address one of the other offset address. Unsigned two components are coded

Virtual address

Refers to a program produced by the segment selector and the segment offset address components of

Can be written in 段:偏移量the form of segment here is the segment selector

Linear address

1. Definitions

An intermediate layer between the logical address to the physical address conversion

2, parsing

In the segment address is part of the logical address of the segment offset, the linear address is the base address plus

Linear address is a 32-bit unsigned integer, usually expressed as a hexadecimal number

Program code will produce a logical address, a linear address can be generated by the logical address conversion. If paging is enabled, the linear address may be further transformed to produce through a physical address. If no paging mechanism, the linear address is the physical address

Guess you like

Origin www.cnblogs.com/xxwang1018/p/11648498.html