mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-12-24 09:30:40 +00:00
28 lines
443 B
C#
28 lines
443 B
C#
|
// <copyright file="StatusBits.cs" company="Adrian Conlon">
|
|||
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|||
|
// </copyright>
|
|||
|
|
|||
|
namespace EightBit
|
|||
|
{
|
|||
|
using System;
|
|||
|
|
|||
|
[Flags]
|
|||
|
public enum StatusBits
|
|||
|
{
|
|||
|
// Negative
|
|||
|
SF = Bits.Bit7,
|
|||
|
|
|||
|
// Zero
|
|||
|
ZF = Bits.Bit6,
|
|||
|
|
|||
|
// Half carry
|
|||
|
AC = Bits.Bit4,
|
|||
|
|
|||
|
// Parity
|
|||
|
PF = Bits.Bit2,
|
|||
|
|
|||
|
// Carry
|
|||
|
CF = Bits.Bit0,
|
|||
|
}
|
|||
|
}
|