class Cr6502::Flags
- Cr6502::Flags
- Reference
- Object
Defined in:
flags.crConstant Summary
-
SHIFTS =
{carry: 0, zero: 1, interrupt: 2, decimal: 3, brk: 4, _blank: 5, overflow: 6, negative: 7}
Constructors
Instance Method Summary
- #[](flagname) : UInt8
- #[]?(flagname) : Bool
- #clear(flagname) : Nil
- #set(flagname) : Nil
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #value : UInt8
Constructor Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.