mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-11-18 02:06:28 +00:00
9a1d5cc762
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
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,
|
|
}
|
|
}
|