Question: Question 5 ( 1 0 % ) - Write an 8 0 8 6 assembly program that defines a double word, called n , using
Question Write an assembly program that defines a double word, called using the DD directive. The program should count the total number of ones that are located within the first two bytes and store this number in a variable called Ones. Moreover, the program should count the total number of zeros that are located within the second and third bytes and store this number in a variable called Zeros. You need to implement the program using the ROR or ROL instructions as well as the LOOP instruction. You need to test your program when is initialized to FAFBCh
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
