Question: Q1/ write a program to count the number of 5 in a given array stored in memory locations from 0110 H to 0120 H

Q1/ write a program to count the number of 5 in a given array stored in memory locations from 0110 H to 0120 H in the current data segment 0600 H, save the result in DL register, assume DS =0600 H
Step by Step Solution
3.38 Rating (148 Votes )
There are 3 Steps involved in it
LC0 ascii The sum of the given array is000 LC1 ascii 012000 main push fp lr add fp sp 4 sub sp sp 24 ... View full answer
Get step-by-step solutions from verified subject matter experts
