DotNet6502
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Package M6502.Registers

Classes

class  RegistersState
 

Enumerations

enum  StatusFlags : byte {
  StatusFlags.None = 0, StatusFlags.Carry = 1, StatusFlags.Zero = 2, StatusFlags.IrqDisable = 4,
  StatusFlags.DecimalMode = 8, StatusFlags.BrkCommand = 16, StatusFlags.Reserved = 32, StatusFlags.Overflow = 64,
  StatusFlags.Sign = 128
}
 

Enumeration Type Documentation

Enumerator
None 
Carry 

[C] Set when a result of the operation exceeded size of the accumulator.

Zero 

[Z] Set when a result of the operation is equal to zero.

IrqDisable 

[I] Set when interrupts are disabled (don't affect to NMI).

DecimalMode 

[D] Set when decimal mode is enabled (values are treated as BCD numbers).

BrkCommand 

[B] Set when software interrupt is executed.

Reserved 

Reserved (should be set).

Overflow 

[V] Set when a result of the operation has been overflowed.

Sign 

[S] Set when a result of the operation is negative.