mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-01 02:16:13 +00:00
Make Register16 a class, rather than struct. Tricky, but a bit faster than before.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// <copyright file="Disassembly.cs" company="Adrian Conlon">
|
||||
// <copyright file="Disassembler.cs" company="Adrian Conlon">
|
||||
// Copyright (c) Adrian Conlon. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace EightBit
|
||||
output.Append(" ");
|
||||
|
||||
var next = this.bus.Peek((ushort)(current + 1));
|
||||
var relative = (ushort)(this.processor.PC().Word + 2 + (sbyte)next);
|
||||
var relative = (ushort)(this.processor.PC.Word + 2 + (sbyte)next);
|
||||
|
||||
var aaa = (cell & 0b11100000) >> 5;
|
||||
var bbb = (cell & 0b00011100) >> 2;
|
||||
|
||||
Reference in New Issue
Block a user