1. Program to find number of 1's and 0's in a given 8-bit number.The number is stored at memory location 5001H. Store the count of 1's & 0's at 5002H & 5003H.
Screenshot before counting. See the content of memory location 5001H.
Screenshot of result. See the content of memory location 5001H(number), 5002(no. of 1's) and 5003H(no. of 0's).
2.Program to find number of positive and negative numbers in an given array. The length of array is given at 5000H and the array is stored from 5001H.
Screenshot before counting. See the contents from memory location 5000H.
Screenshot of result. See the contents from memory location 5001H.
Screenshot before counting. See the content of memory location 5001H.
Screenshot of result. See the content of memory location 5001H(number), 5002(no. of 1's) and 5003H(no. of 0's).
2.Program to find number of positive and negative numbers in an given array. The length of array is given at 5000H and the array is stored from 5001H.
Screenshot before counting. See the contents from memory location 5000H.
Screenshot of result. See the contents from memory location 5001H.
No comments:
Post a Comment