classes/AssemblyLine.ps1

class AssemblyLine {
    [string]$segmentName
    [UInt16]$addr
    [byte[]]$bytes
    [int]$lineNumber
    [int]$charPosition
    [string]$asmLineText
    [string]$psLineText
    [string]$fileName

    AssemblyLine([string]$segmentName, [UInt16]$addr, [byte[]]$bytes, [int]$lineNumber, [int]$charPosition, [string]$asmLineText, [string]$psLineText, [string]$fileName) {
        $this.segmentName = $segmentName;
        $this.addr = $addr;
        $this.bytes = $bytes;
        $this.lineNumber = $lineNumber;
        $this.charPosition = $charPosition;
        $this.asmLineText = $asmLineText;
        $this.psLineText = $psLineText;
        $this.fileName = $fileName;
    }
}