示例#1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^
            Address.GetHashCode() ^
            HiByte.GetHashCode() ^
            LoByte.GetHashCode());
 }
示例#2
0
 /// <inheritdoc/>
 public override string ToString()
 {
     return($"Register#{Address} | Hi: {HiByte.ToString("X2")} Lo: {LoByte.ToString("X2")} | {Value}");
 }