
BitBLT Operation
E-5
`efmp69030 Databook
Revision 1.3 11/24/99
Table E-2:
Bit-Wise Operations and 8-bit Codes (60 - BF)
Notes: S = Source Data
P = Pattern Data
D = Input Destination Data (data at destination prior to BitBLT operation)
Code
Value Written to Bits at Destination
Code
Value Written to Bits at Destination
60
P and ( D xor S )
90
P and ( not( D xor S ))
61
not( D xor ( S xor ( P or ( D and S ))))
91
not( S xor ( D and ( P or ( notS ))))
62
D xor ( S and ( P or D ))
92
D xor ( P xor ( S and ( D or P )))
63
S xor ( D or ( notP ))
93
not( S xor ( P and D ))
64
S xor ( D and ( P or S ))
94
P xor ( S xor ( D and ( P or S )))
65
D xor ( S or ( notP ))
95
not( D xor ( P and S ))
66
D xor S
96
D xor ( P xor S )
67
S xor ( D or ( not( P or S )))
97
P xor ( S xor ( D or ( not( P or S ))))
68
not( D xor ( S xor ( P or ( not( D or S )))))
98
not( S xor ( D or ( not( P or S ))))
69
not( P xor ( D xor S ))
99
not( D xor S )
6A
D xor ( P and S )
9A
D xor ( P and ( notS ))
6B
not( P xor ( S xor ( D and ( P or S ))))
9B
not( S xor ( D and ( P or S )))
6C
S xor ( D and P )
9C
S xor ( P and ( notD ))
6D
not( P xor ( D xor ( S and ( P or D ))))
9D
not( D xor ( S and ( P or D )))
6E
S xor ( D and ( P or ( notS )))
9E
D xor ( S xor ( P or ( D and S )))
6F
not( P and ( not( D xor S )))
9F
not( P and ( D xor S ))
70
P and ( not( D and S ))
A0
D and P
71
not( S xor (( S xor D ) and ( P xor D )))
A1
not( P xor ( D or ( S and ( notP ))))
72
S xor ( D or ( P xor S ))
A2
D and ( P or ( notS ))
73
not( S and ( D or ( notP )))
A3
not( D xor ( P or ( S xor D )))
74
D xor ( S or ( P xor D ))
A4
not( P xor ( D or ( not( S or P ))))
75
not( D and ( S or ( notP )))
A5
not( P xor D )
76
S xor ( D or ( P and ( notS )))
A6
D xor ( S and ( notP ))
77
not( D and S )
A7
not( P xor ( D and ( S or P )))
78
P xor ( D and S )
A8
D and ( P or S )
79
not( D xor ( S xor ( P and ( D or S ))))
A9
not( D xor ( P or S ))
7A
D xor ( P and ( S or ( notD )))
AA
D
7B
not( S and ( not( D xor P )))
AB
D or ( not( P or S))
7C
S xor ( P and ( D or ( notS )))
AC
S xor (P and ( D xor S ))
7D
not( D and ( not( P xor S )))
AD
not( D xor ( P or ( S and D )))
7E
( S xor P ) or ( D xor S )
AE
D or ( S and ( notP ))
7F
not( D and ( P and S ))
AF
D or ( notP )
80
D and ( P and S )
B0
P and ( D or ( notS ))
81
not(( S xor P ) or ( D xor S ))
B1
not( P xor ( D or ( S xor P )))
82
D and ( not( P xor S ))
B2
S xor (( S xor P ) or ( D xor S ))
83
not( S xor ( P and ( D or ( notS ))))
B3
not( S and ( not( D and P )))
84
S and ( not( D xor P ))
B4
P xor ( S and ( notD ))
85
not( P xor ( D and ( S or ( notP ))))
B5
not( D xor ( P and ( S or D )))
86
D xor ( S xor ( P and ( D or S )))
B6
D xor ( P xor ( S or ( D and P )))
87
not( P xor ( D and S ))
B7
not( S and ( D xor P ))
88
D and S
B8
P xor ( S and ( D xor P ))
89
not( S xor ( D or ( P and ( notS ))))
B9
not( D xor ( S or ( P and D )))
8A
D and ( S or ( notP ))
BA
D or ( P and ( notS ))
8B
not( D xor ( S or ( P xor D )))
BB
D or ( notS )
8C
S and ( D or ( notP ))
BC
S xor ( P and ( not( D and S )))
8D
not( S xor ( D or ( P xor S )))
BD
not(( S xor D ) and ( P xor D ))
8E
S xor (( S xor D ) and ( P xor D ))
BE
D or ( P xor S )
8F
not( P and ( not( D and S )))
BF
D or ( not( P and S ))