Implementation of Up/Down Counter

  1. M. A. Mazidi, J. G. Mazidi, and R. D. McKinlay, "The 8051 Microcontroller and Embedded Systems: Using Assembly and C", 2nd ed. Pearson Education, 2006.

  2. M. Predko, "Programming and Customizing the 8051 Microcontroller", 2nd ed. New York, NY, USA: McGraw-Hill, 2003.

  3. EdSim51, "Examples," Sep. 2024. [Online]. Available:
    https://edsim51.com/wp-content/uploads/2024/09/examples-1.pdf. [Accessed: Aug. 27, 2025].

  4. EngineersGarage, "Up-down counter using 8051 microcontroller (AT89C51)" [Online]. Available:
    https://www.engineersgarage.com/up-down-counter-using-8051-microcontroller-at89c51/. [Accessed: Aug. 27, 2025].