Question: Can anyone help me this. Please write the answer in Assembly language (software I used http://www.hvrsoftware.com/download.htm version1.08) Write a program to count the number of
Can anyone help me this. Please write the answer in Assembly language (software I used http://www.hvrsoftware.com/download.htm version1.08)

Write a program to count the number of occurrences of two consecutive zeros (00) or two consecutive ones (11) in a 16-bit data. The 16-bit data is the concentation of the two 8-bits from memory locations $D500 and $D501, where the most significant byte (MsB) of the 16-bit data is from SD500. The count is saved in memory location SD502, where the first 4-bits indicate the number For example, the count for the 16- data (1101001 l 101 10010) in SD502 should be 32
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
