List Of Flags

Carry flag
CaseDescription
1 + F = 0

Carry Flag=1. Value carried to digit left of the buffer.


Signed flag
CaseDescription
F = 1111

Signed Flag=1. Left most bit is one

a = 1010

Signed Flag=1. Left most bit is one

8 = 1000

Signed Flag=1. Left most bit is one

7 = 0111

Signed Flag=0. Left most bit is zero

3 = 0011

Signed Flag=0. Left most bit is zero


Overflow flag
CaseDescription
A + A = 4

Overflow Flag=1. Two signed values added gave a unsiged value.

7 + 3 = a

Overflow Flag=1. Two unsigned values added gave a signed value.


Zero flag
CaseDescription
1 - 1 = 0

Zero Flag=1. Total equals 0.

a + -a = 0

Zero Flag=1. Total equals 0.


Direction flag
CaseDescription

Parity flag
CaseDescription