Question

Even parity is where there is an even number of 1s in a string of
data bits. Write a program to check the value loaded into
accumulator B and determine the state of the extra bit that would
need to be added to the string in B in order to make all 9-bits
have EVEN parity. Store that 9th (parity) bit as the MSB of
accumulator A and exit.

Start with a simple flowchart before you do any coding, and include
it with your report.
Must be in assembly code