Jurnal Riset Rumpun Ilmu Teknik (JURRITEK)
Vol. 5 No. 2 (2026): : Jurnal Riset Rumpun Ilmu Teknik

Rancang Bangun Counter Up-Down Berbasis Bahasa Assembly Menggunakan Aplikasi MC-51 pada Mikrokontroler AT89C2051

Rayhan Al Hayubi (Unknown)
Desmira Desmira (Unknown)



Article Info

Publish Date
15 Jun 2026

Abstract

This study designs and implements an up-down counter system based on an AT89C2051 microcontroller programmed in assembly using the MC-51 application. The system modifies an existing digital clock board by mapping the display selector pins, seven-segment segment pins, pushbuttons, and buzzer to the microcontroller ports. The research method consists of literature review, hardware identification, algorithm design, assembly programming, program downloading, and functional testing using a 5 V DC supply. The implementation uses a four-digit common-cathode seven-segment display and a multiplexing routine to show the counter value in real time. The functional test shows that the system can display the initial value, increase the value through the up button, and decrease the value through the down button. The display is readable during operation, and the program can run on the target circuit after being downloaded to the AT89C2051. This study confirms that assembly programming on MC-51 can be applied to implement a simple counter system on a reused digital clock circuit. The main limitations are the absence of explicit button debouncing, overflow and underflow protection, quantitative response-time measurement, and non-volatile data retention.

Copyrights © 2026






Journal Info

Abbrev

JURRITEK

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT

Description

Sub Rumpun TEKNIK SIPIL DAN PERENCANAAN TATA RUANG 1. Teknik Sipil 2. Teknik Lingkungan 3. Rancang Kota 4. Perencanaan Wilayah dan Kota 5. Teknik Pengairan 6. Teknik Arsitektur 7. Teknologi Alat Berat 8. Transportasi 9. Bidang Teknik Sipil Lain Yang Belum Tercantum Sub Rumpun ILMU KETEKNIKAN ...