Files
SabreTools.Models/MSDOS/RelocationEntry.cs

20 lines
554 B
C#
Raw Normal View History

namespace SabreTools.Models.MSDOS
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Each pointer in the relocation table looks as such
/// </summary>
/// <see href="https://wiki.osdev.org/MZ"/>
public sealed class RelocationEntry
{
/// <summary>
/// Offset of the relocation within provided segment.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Offset { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Segment of the relocation, relative to the load segment address.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Segment { get; set; }
2023-09-04 00:11:04 -04:00
}
}