Add opcodes
This commit is contained in:
@@ -252,7 +252,13 @@ namespace MCEmuCore.GBMonolith
|
||||
|
||||
public class FlagRegister
|
||||
{
|
||||
protected internal byte Value { get; set; }
|
||||
private byte register;
|
||||
public byte Value {
|
||||
get => register;
|
||||
set {
|
||||
register = (byte)(value & 0b1111_0000);
|
||||
}
|
||||
}
|
||||
#region Boolean Flag Properties
|
||||
public bool Zero
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user