This assembly language program converts a binary number to decimal, octal, and hexadecimal representations.
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.
- Run the program.
- Enter a binary number when prompted.
- 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.
- Enter
- The converted value will be displayed on the screen.
- Repeat steps 2-4 as desired.
- When finished, the program will display a thank you message and exit.
- DOS environment
- Clone the repository.
- Assemble and run the
QWF.asm
file using an assembly language compiler. - Follow the on-screen instructions to use the program.
- 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!