The parity bit is always calculated using even parity. The value of the bit is calculated by doing an exclusive-or of all the data bits, as follows:
P=D0⊗D1⊗D2⊗D3⊗D4⊗D5⊗D6⊗D7⊗0