0
662views
Write an assembly program that: 1. Reads 7 bits binary data stream from a keyboard 2. Calculates number of zeros and ones in this stream. 3. Displays the number of zeros on screen 4. Outputs the numb

Write an assembly program that: 1. Reads 7 bits binary data stream from a keyboard 2. Calculates number of zeros and ones in this stream. 3. Displays the number of zeros on screen 4. Outputs the number of ones at port 378h 5. Calculates the even parity bit assuming the 8th bit is an even parity and output total number (8 bits) on port 279h

Please log in to add an answer.