Memory Segment - Logical Address (pointers)
About
To address a byte in a segmented model, a program uses an address called a logical address
Logical addresses are often referred to as pointers.
Articles Related
Syntax
Segment-register:Byte-address
where:
- Segment-register is a segment selector that identifies the segment (Optional for some instructions that have a default)
- Byte-address is an offset that identifies a byte in the segment address space
Example
- The following segment address identifies the byte at address FF79H in the segment pointed by the DS register
DS:FF79H
- The following segment address identifies an instruction address in the code segment. The CS register points to the code segment and the EIP register contains the address of the instruction.
CS:EIP