mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-06-27 14:24:41 +00:00
Tidy up some layout issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
public IntelOpCodeDecoded() { }
|
public IntelOpCodeDecoded() { }
|
||||||
|
|
||||||
public IntelOpCodeDecoded(byte opcode) {
|
public IntelOpCodeDecoded(byte opcode)
|
||||||
|
{
|
||||||
x = (opcode & 0b11000000) >> 6; // 0 - 3
|
x = (opcode & 0b11000000) >> 6; // 0 - 3
|
||||||
y = (opcode & 0b00111000) >> 3; // 0 - 7
|
y = (opcode & 0b00111000) >> 3; // 0 - 7
|
||||||
z = (opcode & 0b00000111); // 0 - 7
|
z = (opcode & 0b00000111); // 0 - 7
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public override sealed ref byte Reference(ushort address) {
|
public override sealed ref byte Reference(ushort address)
|
||||||
|
{
|
||||||
return ref Bytes()[address];
|
return ref Bytes()[address];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user