Skip to content

Sohil423Abuzeid/assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binary Number Conversion Program

This assembly language program converts a binary number to decimal, octal, and hexadecimal representations.

Description

The program prompts the user to enter a binary number (up to 16 digits) and provides options to convert it to decimal, octal, or hexadecimal. The converted values are then displayed on the screen.

Usage

  1. Run the program.
  2. Enter a binary number when prompted.
  3. Choose an option:
    • Enter 1 to convert to decimal.
    • Enter 2 to convert to octal.
    • Enter 3 to convert to hexadecimal.
    • Enter 9 to exit the program.
  4. The converted value will be displayed on the screen.
  5. Repeat steps 2-4 as desired.
  6. When finished, the program will display a thank you message and exit.

Requirements

  • DOS environment

Getting Started

  1. Clone the repository.
  2. Assemble and run the QWF.asm file using an assembly language compiler.
  3. Follow the on-screen instructions to use the program.

Contributors

  • Saad Al-Tohamy
  • Sohil Mohammed

NOTE

There are two projects in this repository, the first project is the main one, which is the binary conversion, and the second project is the Q&A system. This project was a plan B in case the main project did not work. Thank God, the binary conversion project worked after much effort, but we did not abandon the Q&A system project either. It is worth watching!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published