Z80Flags class
Z80 CPU Flags
Stores all CPU Flags for the Z80CPU
Note: that the only way to read the X, Y and N can only be read using PUSH AF instruction.
Constructors
Properties
- C ↔ int
-
Carry Flag
getter/setter pair
- H ↔ int
-
Half Carry Flag
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- N ↔ int
-
Add / Subtract Flag
getter/setter pair
- P ↔ int
-
Parity / Overflow Flag
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- S ↔ int
-
Sign Flag
getter/setter pair
- X ↔ int
-
Undocumented. Contains a copy of bit 3 of the result.
getter/setter pair
- Y ↔ int
-
Undocumented. Contains a copy of bit 5 of the result.
getter/setter pair
- Z ↔ int
-
Zero Flag
getter/setter pair
Methods
-
clone(
) → Z80Flags - Clones the current CPU flags
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Saves current CPU flags to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited