answersLogoWhite

0

What is offset address?

Updated: 12/17/2022
User Avatar

Wiki User

8y ago

Best Answer

An offset address is a relative address rather than an absolute address. You use offsets to refer to memory relative to an absolute address. For instance, array indices are implemented using offsets from the start address of the array, such that element 0 is at offset 0 and element 5 is at offset 5.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is offset address?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is use of offset address in 8086 mp?

Offset address is also known as displacement.By adding this offset value to a base address,address of a specific locaction in memory can be accessed


In the Base plus Offset addressing Offset address is also known as?

Base plus displacement.


How would you obtain a far address from segment and offset address of a memory location?

Pointers to far objects are stored using four bytes (32 bits). The bytes are stored little endian or low to high order. The first word contains the 14-bit memory offset (bits 14 and 15 are always 0). The second word contains the page number (or segment number for function pointers). The memory address is calculated as follows: Variable Address = (Page * 0x4000L) + OffsetFunction Address = (Segment * 0x10000L) + Offset


How do you get segmented base and offset when you have logical address?

You cannot. The conversion goes this way: segment+offset -> [segment-table] -> linear_address -> [page-table] -> physical_address PS: In most cases there is only one (4GB long) segment (or one code-segment and one data-segment), so offset is quite the same as linear address


What is Normalization of pointers?

The 8085 had a 16-bit address bus thus it could address a maximum of 64KB of memory (2^16). The 8086 had a 20-bit address bus and could therefore address a maximum of 1MB of memory (2^20). To maintain compatibility, segmented memory was introduced, such that the segment and offset were stored in separate 16-bit registers. In order to perform 20-bit pointer arithmetic upon the 8086, the segment and offset had to be normalised by the compiler to produce a valid 20-bit address. This was achieved by left-shifting the segment by 4 bits and then adding on the offset. The 8086 also introduced the concept of near, far and huge pointers. A near pointer only stores the offset while far and huge pointers store both the segment and the offset. The only practical difference between far and huge pointers is in how pointer arithmetic works. With far pointers, only the offset is affected whereas with huge pointers, both the segment and the offset are affected.

Related questions

What is use of offset address in 8086 mp?

Offset address is also known as displacement.By adding this offset value to a base address,address of a specific locaction in memory can be accessed


What is base address and offset address?

In software Engineering KPA denotes.


In the Base plus Offset addressing Offset address is also known as?

Base plus displacement.


Can physical address and virtual address be same?

your question is wrong. it should be "can physical address and logical address be same" answer is no because logical address is the combination of page number and offset whereas physical address is the combination of physical page[frame] and offset


What is offset in 8086 mp?

displacement from base address


What is the offset in a hexadecimal code?

The offset is usually the difference between the address of a module and the specific location being referenced.


Which register is used as an offset address for the string instruction destination in the microprocessor?

DI is used as an offset address for string instruction destinations in the microprocessors.


What is offset in microprocessors?

Refers to a value added to a base address to produce a second address. For example, if B represents address 100, then the expression,B+5would signify the address 105. The 5 in the expression is the offset.Specifying addresses using an offset is called relative addressing because the resulting address is relative to some other point. Another word for offset is displacement.Ajesh John


What is effective address or offset?

the address that is obtained by applying any specified indexing or indirect addressing rules to specified address


Give the segment registers and their corresponding offset registers?

Give the effective address if the segment register is AA03 and the offset register is 0200.


What are the functions of bx register?

offset storage for forming physical address


What is indexed addressing mode?

When stored in contiguous blocks, data usually has a base address. Accessing any data from the block requires an offset to the base address which is achieved through an index. The adding of an offset to the base address is called indexed addressing.