Clarifications of EightBit library

This commit is contained in:
Adrian Conlon
2024-09-18 11:23:18 +01:00
parent 0621b9ed1d
commit 489b7b21e6
8 changed files with 5 additions and 27 deletions

View File

@@ -61,8 +61,7 @@ namespace EightBit
public void Write()
{
this.OnWritingByte();
var value = this.Data; // N.B. Don't join these two lines together: the
this.Reference() = value; // data bus integrity is lost, due to evaluation order!
this.Reference() = this.Data;
this.OnWrittenByte();
}