Labels
This commit is contained in:
@ -239,6 +239,10 @@ public class DataRegister {
|
||||
}
|
||||
}
|
||||
|
||||
public static int getZeroFlag(){
|
||||
return zeroFlag;
|
||||
}
|
||||
|
||||
private static int carryFlag = 0;
|
||||
|
||||
public static void setCarryFlag(int value){
|
||||
@ -323,6 +327,7 @@ public class DataRegister {
|
||||
public static int getDirectRegister(int address) {
|
||||
return dataRegister[address];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user