mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-07-24 21:24:47 +00:00
Prefer a more straightforward register exchange
This commit is contained in:
@@ -1424,7 +1424,11 @@ namespace EightBit
|
||||
this.XHTL(this.HL2());
|
||||
break;
|
||||
case 5: // EX DE,HL
|
||||
(this.DE.Word, this.HL.Word) = (this.HL.Word, this.DE.Word);
|
||||
{
|
||||
this.Intermediate.Assign(this.DE);
|
||||
this.DE.Assign(this.HL);
|
||||
this.HL.Assign(this.Intermediate);
|
||||
}
|
||||
break;
|
||||
case 6: // DI
|
||||
this.DisableInterrupts();
|
||||
|
Reference in New Issue
Block a user