pic16f877a microcontroller program

Thread Starter


Joined Apr 18, 2017
Write a PIC16F877A assembler subroutine called “DataStatistics” to count the number of registers in a memory block in RAM that contains number values that are greater than fifty, less than fifty and equal to fifty. The numbers counted must be placed in registers called “GreaterThan”, “LessThan” and “EqualTo”, located in memory 70h, 71h, and 72h respectively. Make use of indirect addressing to access the memory block in RAM that starts at 30h and ends at 60h.