Files
EightBitNet/M6502/M6502.Symbols/Segment.cs
2024-10-09 19:48:33 +01:00

25 lines
823 B
C#

namespace M6502.Symbols
{
// seg id=1,name="RODATA",start=0x00F471,size=0x0000,addrsize=absolute,type=ro,oname="sudoku.65b",ooffs=1137
[Section("seg", "Segments")]
public sealed class Segment(Parser container) : NamedSection(container)
{
[SectionProperty("start", hexadecimal: true)]
public int Start { get; private set; }
[SectionProperty("size", hexadecimal: true)]
public int Size { get; private set; }
[SectionEnumeration("addrsize")]
public string? AddressSize { get; private set; }
[SectionEnumeration("type")]
public string? Type { get; private set; }
[SectionProperty("oname")]
public string? OName { get; private set; }
[SectionProperty("ooffs")]
public int? OOFFS { get; private set; }
}
}