
Chapter 8 Communication Functions
8-46
④
Complement setting : Complement calculation as below
example> 1’s and 2’s Complements of D3
b
it 7 bit 0
1 1 0 1 0 0 1 1
b
it 7 bit 0
0 0 1 0 1 1 0 0
b
it 7 bit 0
0 0 1 0 1 1 0 1
⑤
Mask setting : Masking method is as below
b
it 7 bit 0
1 1 0 1 0 0 1 1
b
it 7 bit 0
1 1 1 1 1 1 1 1
b
it 7 bit 0
1 1 0 1 0 0 1 1
b
it 7 bit 0
1 1 0 1 0 0 1 1
b
it 7 bit 0
0 0 1 0 1 1 0 0
= h D3(sum check value)
1’ complement = h 2C(the last sum check value)
2’ complement = 1’ comp 1 = h 2D(the last sum check
l )
= h D3 (sum check value)
= hFF (masking value)
AND masking = hD3
OR masking = hFF
Exclusive OR masking = h2C