
E-4
BitBLT Operation
`efmp69030 Databook
Revision 1.3 11/24/99
Table E-1:
Bit-Wise Operations and 8-bit Codes (00 - 5F)
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
00
writes all 0’s
30
P and ( notS )
01
not( D or ( P or S )))
31
not( S or ( D and ( notP )))
02
D and ( not( P or S ))
32
S xor ( D or ( P or S ))
03
not( P or S )
33
notS
04
S and ( not( D or P ))
34
S xor ( P or ( D and S ))
05
not( D or P )
35
S xor ( P or ( not( D xor S )))
06
not( P or ( not( D xor S )))
36
S xor ( D or P )
07
not( P or ( D and S ))
37
not( S and ( D or P ))
08
S and ( D and ( notP ))
38
P xor ( S and ( D or P ))
09
not( P or ( D xor S ))
39
S xor ( P or ( notD ))
0A
D and ( notP )
3A
S xor ( P or ( D xor S ))
0B
not( P or ( S and ( notD )))
3B
not( S and ( P or ( notD )))
0C
S and ( notP )
3C
P xor S
0D
not( P or ( D and ( notS )))
3D
S xor ( P or ( not( D or S )))
0E
not( P or ( not( D or S )))
3E
S xor ( P or ( D and ( notS )))
0F
notP
3F
not( P and S )
10
P and ( not( D or S ))
40
P and ( S and ( notD ))
11
not( D or S )
41
not( D or ( P xor S ))
12
not( S or ( not( D xor P )))
42
( S xor D ) and ( P xor D )
13
not( S or ( D and P ))
43
not( S xor ( P and ( not( D and S ))))
14
not( D or ( not( P xor S )))
44
S and ( notD )
15
not( D or ( P and S ))
45
not( D or ( P and ( notS )))
16
P xor ( S xor (D and ( not( P and S ))))
46
D xor ( S or ( P and D ))
17
not( S xor (( S xor P ) and ( D xor S )))
47
not( P xor ( S and ( D xor P )))
18
( S xor P ) and ( P xor D )
48
S and ( D xor P )
19
not( S xor ( D and ( not( P and S ))))
49
not( P xor ( D xor ( S or ( P and D ))))
1A
P xor ( D or ( S and P ))
4A
D xor ( P and ( S or D ))
1B
not( S xor ( D and ( P xor S )))
4B
P xor ( D or ( notS ))
1C
P xor ( S or ( D and P ))
4C
S and ( not( D and P ))
1D
not( D xor ( S and ( P xor D )))
4D
not( S xor (( S xor P ) or ( D xor S )))
1E
P xor ( D or S )
4E
P xor ( D or ( S xor P ))
1F
not( P and ( D or S ))
4F
not( P and ( D or ( notS )))
20
D and ( P and ( notS ))
50
P and ( notD )
21
not( S or( D xor P ))
51
not( D or ( S and ( notP )))
22
D and ( notS )
52
D xor (P or ( S and D ))
23
not( S or ( P and ( notD )))
53
not( S xor ( P and ( D xor S )))
24
( S xor P ) and ( D xor S )
54
not( D or ( not( P or S )))
25
not( P xor ( D and ( not( S and P ))))
55
notD
26
S xor ( D or ( P and S ))
56
D xor ( P or S )
27
S xor ( D or ( not( P xor S )))
57
not( D and ( P or S ))
28
D and ( P xor S )
58
P xor ( D and ( S or P ))
29
not( P xor ( S xor ( D or ( P and S ))))
59
D xor ( P or ( notS ))
2A
D and ( not( P and S ))
5A
D xor P
2B
not( S xor (( S xor P ) and ( P xor D )))
5B
D xor ( P or ( not( S or D )))
2C
S xor ( P and ( D or S ))
5C
D xor ( P or ( S xor D ))
2D
P xor ( S or ( notD ))
5D
not( D and ( P or ( notS )))
2E
P xor ( S or ( D xor P ))
5E
D xor ( P or ( S and ( notD )))
2F
not( P and ( S or ( notD )))
5F
not( D and P )